Class: Sistrix::Monitoring::Projects::Record
- Inherits:
-
Object
- Object
- Sistrix::Monitoring::Projects::Record
- Includes:
- Record
- Defined in:
- lib/sistrix/monitoring/projects.rb
Instance Method Summary collapse
-
#initialize(xml_node) ⇒ Record
constructor
A new instance of Record.
Methods included from Record
Constructor Details
#initialize(xml_node) ⇒ Record
Returns a new instance of Record.
38 39 40 41 42 43 |
# File 'lib/sistrix/monitoring/projects.rb', line 38 def initialize(xml_node) @data = {} @data[:name] = xml_node['name'].to_s.strip @data[:id] = xml_node['id'].to_s.strip end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Sistrix::Record