Class: Macaco::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



23
24
25
26
# File 'lib/macaco.rb', line 23

def initialize
  @api_key  = ENV['MACACO_API_KEY']
  @sender   = :mandrill
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



21
22
23
# File 'lib/macaco.rb', line 21

def api_key
  @api_key
end

#senderObject

Returns the value of attribute sender.



21
22
23
# File 'lib/macaco.rb', line 21

def sender
  @sender
end