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.
8 9 10 11 |
# File 'lib/sendle_api/configuration.rb', line 8 def initialize # default @testing = false end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/sendle_api/configuration.rb', line 5 def api_key @api_key end |
#sendle_id ⇒ Object
Returns the value of attribute sendle_id.
5 6 7 |
# File 'lib/sendle_api/configuration.rb', line 5 def sendle_id @sendle_id end |
#testing ⇒ Object Also known as: testing?
Returns the value of attribute testing.
5 6 7 |
# File 'lib/sendle_api/configuration.rb', line 5 def testing @testing end |