Class: Eyeson::Configuration

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

Overview

API configuration class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_endpointObject

Returns the value of attribute api_endpoint.



4
5
6
# File 'lib/eyeson/config.rb', line 4

def api_endpoint
  @api_endpoint
end

#api_keyObject

Returns the value of attribute api_key.



4
5
6
# File 'lib/eyeson/config.rb', line 4

def api_key
  @api_key
end