Sha256: db2fd27e12cf8529b25ee9d326931ec2ed17c14a4c61ec28abbe9dd691e9bf06

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

require "monkey_party/version"

module MonkeyParty
  def self.api_key=(api_key)
    @api_key = api_key
  end

  def self.api_key
    @api_key || ENV["MCAPI_KEY"]
  end

  def self.data_center=(data_center)
    @data_center = data_center
  end

  def self.data_center
    @data_center || default_data_center
  end

  def self.default_data_center
    "us1"
  end
end

require "httparty"
require "happymapper"

require "monkey_party/base"

require "monkey_party/list"
require "monkey_party/error"
require "monkey_party/subscriber"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
monkey_party-0.3.2 lib/monkey_party.rb
monkey_party-0.3.1 lib/monkey_party.rb