Class: KcSdkCompany::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/kc-sdk-company/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Configuration

Returns a new instance of Configuration.



5
6
7
8
9
10
# File 'lib/kc-sdk-company/configuration.rb', line 5

def initialize(options = {})
  options.each do |key, value|
    instance_variable_set("@#{key}", value)
  end
  @api_url ||= 'https://cloud.kabob.io'
end

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token.



3
4
5
# File 'lib/kc-sdk-company/configuration.rb', line 3

def access_token
  @access_token
end

#api_urlObject

Returns the value of attribute api_url.



3
4
5
# File 'lib/kc-sdk-company/configuration.rb', line 3

def api_url
  @api_url
end

#loggerObject

Returns the value of attribute logger.



3
4
5
# File 'lib/kc-sdk-company/configuration.rb', line 3

def logger
  @logger
end