class RedHatSupportLib::Api::API

Attributes

article_broker[R]
attachment_broker[R]
case_broker[R]
comment_broker[R]
entitlement_broker[R]
group_broker[R]
problem_broker[R]
product_broker[R]
solution_broker[R]
symptom_broker[R]

Public Class Methods

log_location(path) click to toggle source
# File lib/api/api.rb, line 37
def self.log_location(path)

end
new(network_config, attachments_config) click to toggle source
# File lib/api/api.rb, line 22
def initialize(network_config, attachments_config)
  @connection = Network::HttpConnection.new(network_config)
  @article_broker = Brokers::Article.new(@connection)
  @case_broker = Brokers::Case.new(@connection)
  @solution_broker = Brokers::Solution.new(@connection)
  @symptom_broker = Brokers::Symptom.new(@connection)
  @problem_broker = Brokers::Problem.new(@connection)
  @comment_broker = Brokers::Comment.new(@connection)
  @attachment_broker = Brokers::Attachment.new(@connection, @comment_broker, attachments_config)
  @product_broker = Brokers::Product.new(@connection)
  @group_broker = Brokers::Group.new(@connection)
  @entitlement_broker = Brokers::Entitlement.new(@connection)

end