Class: Notifiable::Gcm::Spacialdb::Batch
- Inherits:
-
NotifierBase
- Object
- NotifierBase
- Notifiable::Gcm::Spacialdb::Batch
- Defined in:
- lib/notifiable/gcm/spacialdb/batch.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#batch_size ⇒ Object
Returns the value of attribute batch_size.
Instance Method Summary collapse
-
#initialize(env, notification) ⇒ Batch
constructor
A new instance of Batch.
Constructor Details
#initialize(env, notification) ⇒ Batch
Returns a new instance of Batch.
11 12 13 14 15 |
# File 'lib/notifiable/gcm/spacialdb/batch.rb', line 11 def initialize(env, notification) super(env, notification) @batch = [] @batch_size = 1000 end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
9 10 11 |
# File 'lib/notifiable/gcm/spacialdb/batch.rb', line 9 def api_key @api_key end |
#batch_size ⇒ Object
Returns the value of attribute batch_size.
9 10 11 |
# File 'lib/notifiable/gcm/spacialdb/batch.rb', line 9 def batch_size @batch_size end |