Sha256: 71714ef23e0eef9c8aa2fb35ea583bed77e559f312c0f54bd888c91e2d56c6ab

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 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.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

1 entries across 1 versions & 1 rubygems

Version Path
monkey_party-0.3.0 lib/monkey_party.rb