Class: SendleAPI::Configuration
- Inherits:
-
Object
- Object
- SendleAPI::Configuration
- Defined in:
- lib/sendle_api/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#sendle_id ⇒ Object
Returns the value of attribute sendle_id.
-
#testing ⇒ Object
(also: #testing?)
Returns the value of attribute testing.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/sendle_api/configuration.rb', line 6 def initialize # default @testing = false end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/sendle_api/configuration.rb', line 3 def api_key @api_key end |
#sendle_id ⇒ Object
Returns the value of attribute sendle_id.
3 4 5 |
# File 'lib/sendle_api/configuration.rb', line 3 def sendle_id @sendle_id end |
#testing ⇒ Object Also known as: testing?
Returns the value of attribute testing.
3 4 5 |
# File 'lib/sendle_api/configuration.rb', line 3 def testing @testing end |