Class: RSMP::MessageAcking
Direct Known Subclasses
Instance Attribute Summary collapse
-
#original ⇒ Object
Returns the value of attribute original.
Attributes inherited from Message
#attributes, #direction, #json, #now, #out, #timestamp
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Message
#attribute, bin_to_chars, build, build_alarm, create_message_instance, #ensure_message_id, #generate_json, #initialize, #m_id, #m_id_short, make_m_id, message_types, parse_attributes, shorten_m_id, #type, #valid?, #validate, validate_attributes_structure, validate_message_type, validate_mtype_field, #validate_type?, validate_type_field
Methods included from Inspect
Constructor Details
This class inherits a constructor from RSMP::Message
Instance Attribute Details
#original ⇒ Object
Returns the value of attribute original.
332 333 334 |
# File 'lib/rsmp/message.rb', line 332 def original @original end |
Class Method Details
.build_from(message) ⇒ Object
334 335 336 337 338 |
# File 'lib/rsmp/message.rb', line 334 def self.build_from() new({ 'oMId' => .attributes['mId'] }) end |
Instance Method Details
#validate_id? ⇒ Boolean
346 347 348 |
# File 'lib/rsmp/message.rb', line 346 def validate_id? true end |