Class: Peach::Configuration
- Inherits:
-
Object
- Object
- Peach::Configuration
- Defined in:
- lib/peach/configuration.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#api_token ⇒ Object
Returns the value of attribute api_token.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 |
# File 'lib/peach/configuration.rb', line 10 def initialize @api_token = nil @base_url = 'https://app.trypeach.io/' end |
Instance Attribute Details
#api_token ⇒ Object
Returns the value of attribute api_token.
7 8 9 |
# File 'lib/peach/configuration.rb', line 7 def api_token @api_token end |
#base_url ⇒ Object
Returns the value of attribute base_url.
8 9 10 |
# File 'lib/peach/configuration.rb', line 8 def base_url @base_url end |