Sha256: 522b1001c963344ecab35dff021914c81ac35bf772263260fcb398a85e5d83ee

Contents?: true

Size: 567 Bytes

Versions: 4

Compression:

Stored size: 567 Bytes

Contents

require 'thread'
require 'socket'
require 'openssl'
require 'multi_json'
require 'timeout'
require 'securerandom'
require_relative './apns/application'
require_relative './apns/client'
require_relative './apns/error_response'
require_relative './apns/gateway'
require_relative './apns/gateway_pool'
require_relative './apns/logger'
require_relative './apns/notification'

module LeadZeppelin
  module APNS
    def self.client=(client)
      Mutex.new.synchronize do
        @client = client
      end

      def self.client
        @client
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lead_zeppelin-0.1.11 lib/lead_zeppelin/apns.rb
lead_zeppelin-0.1.10 lib/lead_zeppelin/apns.rb
lead_zeppelin-0.1.9 lib/lead_zeppelin/apns.rb
lead_zeppelin-0.1.8 lib/lead_zeppelin/apns.rb