Class: Firebase::Messaging::Response::TopicMessage

Inherits:
Firebase::Messaging::Response show all
Defined in:
lib/firebase/messaging/response/topic_message.rb

Instance Attribute Summary

Attributes inherited from Firebase::Messaging::Response

#body, #headers, #status

Instance Method Summary collapse

Methods inherited from Firebase::Messaging::Response

bind, #errors, #failure?, #initialize, json?, #parsed_body

Constructor Details

This class inherits a constructor from Firebase::Messaging::Response

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/firebase/messaging/response/topic_message.rb', line 7

def success?
  super && !!parsed_body[:message_id]
end