lib/macaco.rb in macaco-0.0.2 vs lib/macaco.rb in macaco-0.0.3
- old
+ new
@@ -4,10 +4,11 @@
require 'macaco/version'
require 'macaco/api'
require 'macaco/senders/sender'
require 'macaco/senders/mandrill'
+require 'macaco/senders/sendgrid'
module Macaco
class << self
attr_accessor :config
end
@@ -16,13 +17,12 @@
self.config ||= Configuration.new
yield(config)
end
class Configuration
- attr_accessor :api_key, :sender
+ attr_accessor :api_key, :api_user, :sender
def initialize
- @api_key = ENV['MACACO_API_KEY']
@sender = :mandrill
end
end
end