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.



8
9
10
11
# File 'lib/sendle_api/configuration.rb', line 8

def initialize
  # default
  @testing = false
end

Instance Attribute Details

#api_keyObject

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_idObject

Returns the value of attribute sendle_id.



5
6
7
# File 'lib/sendle_api/configuration.rb', line 5

def sendle_id
  @sendle_id
end

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