Class: Eyeson::Configuration
- Inherits:
-
Object
- Object
- Eyeson::Configuration
- Defined in:
- lib/eyeson/config.rb
Overview
API configuration class
Instance Attribute Summary collapse
-
#api_endpoint ⇒ Object
Returns the value of attribute api_endpoint.
-
#api_key ⇒ Object
Returns the value of attribute api_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 |
# File 'lib/eyeson/config.rb', line 6 def initialize @api_key = '' @api_endpoint = 'https://api.eyeson.team' end |
Instance Attribute Details
#api_endpoint ⇒ Object
Returns the value of attribute api_endpoint.
4 5 6 |
# File 'lib/eyeson/config.rb', line 4 def api_endpoint @api_endpoint end |
#api_key ⇒ Object
Returns the value of attribute api_key.
4 5 6 |
# File 'lib/eyeson/config.rb', line 4 def api_key @api_key end |