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
- #batch ⇒ Object
-
#initialize ⇒ Batch
constructor
A new instance of Batch.
Constructor Details
#initialize ⇒ Batch
Returns a new instance of Batch.
11 12 13 |
# File 'lib/notifiable/gcm/spacialdb/batch.rb', line 11 def initialize @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 |
Instance Method Details
#batch ⇒ Object
15 16 17 |
# File 'lib/notifiable/gcm/spacialdb/batch.rb', line 15 def batch @batch ||= {} end |