Class: Paymo::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



26
27
28
29
30
# File 'lib/paymo.rb', line 26

def initialize
  @api_key  = ENV['PAYMO_API_KEY']
  @debug    = false
  @auth_token = nil
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



24
25
26
# File 'lib/paymo.rb', line 24

def api_key
  @api_key
end

#auth_tokenObject

Returns the value of attribute auth_token.



24
25
26
# File 'lib/paymo.rb', line 24

def auth_token
  @auth_token
end

#debugObject

Returns the value of attribute debug.



24
25
26
# File 'lib/paymo.rb', line 24

def debug
  @debug
end