Module: LeadZeppelin::APNS

Defined in:
lib/lead_zeppelin/apns.rb,
lib/lead_zeppelin/apns/client.rb,
lib/lead_zeppelin/apns/logger.rb,
lib/lead_zeppelin/apns/gateway.rb,
lib/lead_zeppelin/apns/application.rb,
lib/lead_zeppelin/apns/gateway_pool.rb,
lib/lead_zeppelin/apns/notification.rb,
lib/lead_zeppelin/apns/error_response.rb

Defined Under Namespace

Modules: Logger Classes: Application, Client, ErrorResponse, Gateway, GatewayPool, Notification

Class Method Summary collapse

Class Method Details

.clientObject



22
23
24
# File 'lib/lead_zeppelin/apns.rb', line 22

def self.client
  @client
end

.client=(client) ⇒ Object



17
18
19
20
21
22
23
24
25
# File 'lib/lead_zeppelin/apns.rb', line 17

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

  def self.client
    @client
  end
end