Class: LeadZeppelin::APNS::GatewayPool
- Inherits:
-
SizedQueue
- Object
- SizedQueue
- LeadZeppelin::APNS::GatewayPool
- Defined in:
- lib/lead_zeppelin/apns/gateway_pool.rb
Instance Attribute Summary collapse
-
#total ⇒ Object
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(max) ⇒ GatewayPool
constructor
A new instance of GatewayPool.
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
#total ⇒ Object
Returns the value of attribute total.
4 5 6 |
# File 'lib/lead_zeppelin/apns/gateway_pool.rb', line 4 def total @total end |