Method: GCM::ResponseCollection#initialize

Defined in:
lib/mercurius/gcm/response_collection.rb

#initialize(notification, responses = []) ⇒ ResponseCollection

Returns a new instance of ResponseCollection.



7
8
9
10
# File 'lib/mercurius/gcm/response_collection.rb', line 7

def initialize(notification, responses = [])
  @responses = responses
  @notification = notification
end