Class: Sistrix::Monitoring::Report::Recipient
- Inherits:
-
Object
- Object
- Sistrix::Monitoring::Report::Recipient
- Includes:
- Record
- Defined in:
- lib/sistrix/monitoring/report.rb
Instance Method Summary collapse
-
#initialize(xml_node) ⇒ Recipient
constructor
A new instance of Recipient.
Methods included from Record
Constructor Details
#initialize(xml_node) ⇒ Recipient
Returns a new instance of Recipient.
49 50 51 52 53 54 |
# File 'lib/sistrix/monitoring/report.rb', line 49 def initialize(xml_node) @data = {} @data[:value] = xml_node['value'].to_s.strip @data[:type] = xml_node['type'].to_s.strip end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sistrix::Record