Class: Settlebox::Configuration
- Inherits:
-
Object
- Object
- Settlebox::Configuration
- Defined in:
- lib/settlebox.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.
-
#language ⇒ Object
Returns the value of attribute language.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 |
# File 'lib/settlebox.rb', line 13 def initialize self.language = 'en' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
11 12 13 |
# File 'lib/settlebox.rb', line 11 def api_key @api_key end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
11 12 13 |
# File 'lib/settlebox.rb', line 11 def api_secret @api_secret end |
#language ⇒ Object
Returns the value of attribute language.
11 12 13 |
# File 'lib/settlebox.rb', line 11 def language @language end |
#url ⇒ Object
Returns the value of attribute url.
11 12 13 |
# File 'lib/settlebox.rb', line 11 def url @url end |