Class: Arcus::Api::Settings
- Inherits:
-
Object
- Object
- Arcus::Api::Settings
- Defined in:
- lib/arcus/api.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
-
#api_uri ⇒ Object
Returns the value of attribute api_uri.
-
#api_xml ⇒ Object
Returns the value of attribute api_xml.
-
#default_response ⇒ Object
Returns the value of attribute default_response.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Instance Method Summary collapse
-
#initialize ⇒ Settings
constructor
A new instance of Settings.
Constructor Details
#initialize ⇒ Settings
Returns a new instance of Settings.
30 31 32 33 34 |
# File 'lib/arcus/api.rb', line 30 def initialize @api_xml = File.dirname(__FILE__) + "/commands.xml" @default_response = "json" @verbose = false; end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
28 29 30 |
# File 'lib/arcus/api.rb', line 28 def api_key @api_key end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
28 29 30 |
# File 'lib/arcus/api.rb', line 28 def api_secret @api_secret end |
#api_uri ⇒ Object
Returns the value of attribute api_uri.
28 29 30 |
# File 'lib/arcus/api.rb', line 28 def api_uri @api_uri end |
#api_xml ⇒ Object
Returns the value of attribute api_xml.
28 29 30 |
# File 'lib/arcus/api.rb', line 28 def api_xml @api_xml end |
#default_response ⇒ Object
Returns the value of attribute default_response.
28 29 30 |
# File 'lib/arcus/api.rb', line 28 def default_response @default_response end |
#verbose ⇒ Object
Returns the value of attribute verbose.
28 29 30 |
# File 'lib/arcus/api.rb', line 28 def verbose @verbose end |