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

#initializeBatch

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_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

Instance Method Details

#batchObject



15
16
17
# File 'lib/notifiable/gcm/spacialdb/batch.rb', line 15

def batch
  @batch ||= {}
end