Class: Easemob::ChatMessage
- Inherits:
-
BaseMessage
- Object
- BaseMessage
- Easemob::ChatMessage
- Defined in:
- lib/easemob/message/chat_message.rb
Instance Attribute Summary
Attributes inherited from BaseMessage
#action, #application, #application_name, #body, #body_hash, #code, #count, #cursor, #data, #duration, #entities, #error, #error_description, #exception, #organization, #params, #raw_http_response, #timestamp, #uri
Instance Method Summary collapse
Methods inherited from BaseMessage
Constructor Details
This class inherits a constructor from Easemob::BaseMessage
Instance Method Details
#all_success? ⇒ Boolean
5 6 7 |
# File 'lib/easemob/message/chat_message.rb', line 5 def all_success? @data.values.all? { |ar| ar == 'success' } end |