Class: Natero::Configuration
- Inherits:
-
Object
- Object
- Natero::Configuration
- Defined in:
- lib/natero.rb
Instance Attribute Summary collapse
-
#account_api_key ⇒ Object
Returns the value of attribute account_api_key.
-
#base_uri ⇒ Object
Returns the value of attribute base_uri.
-
#event_api_key ⇒ Object
Returns the value of attribute event_api_key.
-
#event_auth_key ⇒ Object
Returns the value of attribute event_auth_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
13 14 15 16 17 18 |
# File 'lib/natero.rb', line 13 def initialize self.base_uri = PRODUCTION_URI self.account_api_key = nil self.event_api_key = nil self.event_auth_key = nil end |
Instance Attribute Details
#account_api_key ⇒ Object
Returns the value of attribute account_api_key.
11 12 13 |
# File 'lib/natero.rb', line 11 def account_api_key @account_api_key end |
#base_uri ⇒ Object
Returns the value of attribute base_uri.
11 12 13 |
# File 'lib/natero.rb', line 11 def base_uri @base_uri end |
#event_api_key ⇒ Object
Returns the value of attribute event_api_key.
11 12 13 |
# File 'lib/natero.rb', line 11 def event_api_key @event_api_key end |
#event_auth_key ⇒ Object
Returns the value of attribute event_auth_key.
11 12 13 |
# File 'lib/natero.rb', line 11 def event_auth_key @event_auth_key end |