Class: Exponea::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/exponea/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
# File 'lib/exponea/configuration.rb', line 5

def initialize
  @project = ENV['EXPONEA_PROJECT']
  @token = ENV['EXPONEA_TOKEN']
  @api_secret = ENV['EXPONEA_API_SECRET']
end

Instance Attribute Details

#api_secretObject

Returns the value of attribute api_secret.



3
4
5
# File 'lib/exponea/configuration.rb', line 3

def api_secret
  @api_secret
end

#projectObject

Returns the value of attribute project.



3
4
5
# File 'lib/exponea/configuration.rb', line 3

def project
  @project
end

#tokenObject

Returns the value of attribute token.



3
4
5
# File 'lib/exponea/configuration.rb', line 3

def token
  @token
end