Class: Paymo::Configuration
- Inherits:
-
Object
- Object
- Paymo::Configuration
- Defined in:
- lib/paymo.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#auth_token ⇒ Object
Returns the value of attribute auth_token.
-
#debug ⇒ Object
Returns the value of attribute debug.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_key ⇒ Object
Returns the value of attribute api_key.
24 25 26 |
# File 'lib/paymo.rb', line 24 def api_key @api_key end |
#auth_token ⇒ Object
Returns the value of attribute auth_token.
24 25 26 |
# File 'lib/paymo.rb', line 24 def auth_token @auth_token end |
#debug ⇒ Object
Returns the value of attribute debug.
24 25 26 |
# File 'lib/paymo.rb', line 24 def debug @debug end |