Class: SendleAPI::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/sendle_api/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

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_idObject

Returns the value of attribute sendle_id.



3
4
5
# File 'lib/sendle_api/configuration.rb', line 3

def sendle_id
  @sendle_id
end

#testingObject 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