Class: Notifiable::Gcm::Spacialdb::Batch

Inherits:
NotifierBase
  • Object
show all
Defined in:
lib/notifiable/gcm/spacialdb/batch.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_keyObject

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_sizeObject

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