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, #ensure_message_id, #generate_json, #initialize, #m_id, #m_id_short, make_m_id, parse_attributes, shorten_m_id, #type, #valid?, #validate, validate_message_type, #validate_type
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.
278 279 280 |
# File 'lib/rsmp/message.rb', line 278 def original @original end |
Class Method Details
.build_from(message) ⇒ Object
280 281 282 283 284 |
# File 'lib/rsmp/message.rb', line 280 def self.build_from return new({ "oMId" => .attributes["mId"] }) end |
Instance Method Details
#validate_id ⇒ Object
291 292 293 |
# File 'lib/rsmp/message.rb', line 291 def validate_id true end |