Class: Firebase::Messaging::Response::TopicMessage
- Inherits:
-
Firebase::Messaging::Response
- Object
- Firebase::Messaging::Response
- Firebase::Messaging::Response::TopicMessage
- Defined in:
- lib/firebase/messaging/response/topic_message.rb
Instance Attribute Summary
Attributes inherited from Firebase::Messaging::Response
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
7 8 9 |
# File 'lib/firebase/messaging/response/topic_message.rb', line 7 def success? super && !!parsed_body[:message_id] end |