Class: Ethikdo::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



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

def initialize
  @api_key = nil
  @environment = :production
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



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

def api_key
  @api_key
end

#environmentObject

Returns the value of attribute environment.



4
5
6
# File 'lib/ethikdo/configuration.rb', line 4

def environment
  @environment
end