Class: RSMP::MessageAck
- Inherits:
-
MessageAcking
- Object
- Message
- MessageAcking
- RSMP::MessageAck
- Defined in:
- lib/rsmp/message.rb
Instance Attribute Summary
Attributes inherited from MessageAcking
Attributes inherited from Message
#attributes, #direction, #json, #now, #out, #timestamp
Instance Method Summary collapse
- #ensure_message_id ⇒ Object
-
#initialize(attributes = {}) ⇒ MessageAck
constructor
A new instance of MessageAck.
Methods inherited from MessageAcking
Methods inherited from Message
#attribute, bin_to_chars, build, build_alarm, create_message_instance, #generate_json, #m_id, #m_id_short, make_m_id, message_types, parse_attributes, shorten_m_id, #type, #valid?, #validate, validate_attributes_structure, #validate_id?, validate_message_type, validate_mtype_field, #validate_type?, validate_type_field
Methods included from Inspect
Constructor Details
#initialize(attributes = {}) ⇒ MessageAck
Returns a new instance of MessageAck.
352 353 354 355 356 |
# File 'lib/rsmp/message.rb', line 352 def initialize(attributes = {}) super({ 'type' => 'MessageAck' }.merge attributes) end |
Instance Method Details
#ensure_message_id ⇒ Object
358 359 360 |
# File 'lib/rsmp/message.rb', line 358 def # Ack and NotAck does not have a mId end |