Class: QaddyClient::Configuration
- Inherits:
-
Object
- Object
- QaddyClient::Configuration
- Defined in:
- lib/qaddy_client/configuration.rb
Instance Attribute Summary collapse
-
#api_host ⇒ Object
Returns the value of attribute api_host.
-
#api_prefix_path ⇒ Object
readonly
Returns the value of attribute api_prefix_path.
-
#api_scheme ⇒ Object
Returns the value of attribute api_scheme.
-
#user_api_key ⇒ Object
Returns the value of attribute user_api_key.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#webstore_id ⇒ Object
Returns the value of attribute webstore_id.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_host ⇒ Object
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_path ⇒ Object (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_scheme ⇒ Object
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_key ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
Returns the value of attribute webstore_id.
3 4 5 |
# File 'lib/qaddy_client/configuration.rb', line 3 def webstore_id @webstore_id end |