Sha256: 9ec4c323230c107c2e4fadcff6734fc322265913f94f55a2a2b994ec7928ead6
Contents?: true
Size: 460 Bytes
Versions: 1
Compression:
Stored size: 460 Bytes
Contents
require 'net/http' require 'json' require 'open-uri' require 'macaco/version' require 'macaco/messages' module Macaco class << self attr_accessor :config end def self.configure self.config ||= Configuration.new yield(config) end class Configuration attr_accessor :api_key, :api_root, :api_port def initialize @api_key = ENV['MANDRILL_API_KEY'] @api_root = 'mandrillapp.com' @api_port = 443 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
macaco-0.0.1 | lib/macaco.rb |