Sha256: 2a2eebce2a924a13f5d7cc35c49c7156bcd25abbe1e4740ee7154f68727877fd

Contents?: true

Size: 407 Bytes

Versions: 2

Compression:

Stored size: 407 Bytes

Contents

require 'net/http'
require 'json'
require 'open-uri'

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

  def self.configure
    self.config ||= Configuration.new
    yield(config)
  end

  class Configuration
    attr_accessor :api_key
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
macaco-0.0.6 lib/macaco.rb
macaco-0.0.5 lib/macaco.rb