Class: LeadZeppelin::APNS::GatewayPool

Inherits:
SizedQueue
  • Object
show all
Defined in:
lib/lead_zeppelin/apns/gateway_pool.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(max) ⇒ GatewayPool

Returns a new instance of GatewayPool.



6
7
8
9
# File 'lib/lead_zeppelin/apns/gateway_pool.rb', line 6

def initialize(max)
  @total = 0
  super
end

Instance Attribute Details

#totalObject

Returns the value of attribute total.



4
5
6
# File 'lib/lead_zeppelin/apns/gateway_pool.rb', line 4

def total
  @total
end