Class: QaddyClient::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/qaddy_client/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



11
12
13
14
15
16
17
18
19
# File 'lib/qaddy_client/configuration.rb', line 11

def initialize
  self.api_host        = nil
  self.api_scheme      = nil
  self.user_id         = nil
  self.user_api_key    = nil
  self.webstore_id     = nil

  @api_prefix_path = '/api/v1'
end

Instance Attribute Details

#api_hostObject

Returns the value of attribute api_host.



3
4
5
# File 'lib/qaddy_client/configuration.rb', line 3

def api_host
  @api_host
end

#api_prefix_pathObject (readonly)

Returns the value of attribute api_prefix_path.



9
10
11
# File 'lib/qaddy_client/configuration.rb', line 9

def api_prefix_path
  @api_prefix_path
end

#api_schemeObject

Returns the value of attribute api_scheme.



3
4
5
# File 'lib/qaddy_client/configuration.rb', line 3

def api_scheme
  @api_scheme
end

#user_api_keyObject

Returns the value of attribute user_api_key.



3
4
5
# File 'lib/qaddy_client/configuration.rb', line 3

def user_api_key
  @user_api_key
end

#user_idObject

Returns the value of attribute user_id.



3
4
5
# File 'lib/qaddy_client/configuration.rb', line 3

def user_id
  @user_id
end

#webstore_idObject

Returns the value of attribute webstore_id.



3
4
5
# File 'lib/qaddy_client/configuration.rb', line 3

def webstore_id
  @webstore_id
end