Sha256: 828f2041f8a043878a95336f0f3282e120d6ca2dc0e70d736d2f2fc554730683
Contents?: true
Size: 640 Bytes
Versions: 3
Compression:
Stored size: 640 Bytes
Contents
require "rubygems" require "thread" require "active_model" require "active_support/concern" require "after_do" require "httparty" require "party_bus/version" require "party_bus/client" require "party_bus/configuration" require "party_bus/events/create" require "party_bus/models/concerns/publishable" module PartyBus LOCK = Mutex.new class << self def configure(validate_api_key=true) yield(configuration) if block_given? end def configuration @configuration = nil unless defined?(@configuration) @configuration || LOCK.synchronize { @configuration ||= PartyBus::Configuration.new } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
party_bus-0.1.13 | lib/party_bus.rb |
party_bus-0.1.12 | lib/party_bus.rb |
party_bus-0.1.11 | lib/party_bus.rb |