Class: RSMP::AlarmAcknowledged
- Defined in:
- lib/rsmp/message.rb
Instance Attribute Summary
Attributes inherited from Message
#attributes, #direction, #json, #now, #out, #timestamp
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ AlarmAcknowledged
constructor
A new instance of AlarmAcknowledged.
Methods inherited from Alarm
Methods inherited from Message
#attribute, bin_to_chars, build, build_alarm, #ensure_message_id, #generate_json, #m_id, #m_id_short, make_m_id, parse_attributes, shorten_m_id, #type, #valid?, #validate, #validate_id, validate_message_type, #validate_type
Methods included from Inspect
Constructor Details
#initialize(attributes = {}) ⇒ AlarmAcknowledged
Returns a new instance of AlarmAcknowledged.
269 270 271 272 273 274 |
# File 'lib/rsmp/message.rb', line 269 def initialize attributes = {} super({ "aSp" => "Acknowledge", "ack" => "acknowledged" }.merge attributes) end |