Class: RCAP::CAP_1_1::EventCode

Inherits:
Base::EventCode show all
Defined in:
lib/rcap/cap_1_1/event_code.rb

Overview

Subclass of Parameter

Constant Summary

XML_ELEMENT_NAME =
'eventCode'
XPATH =
"cap:#{ XML_ELEMENT_NAME }"

Constants inherited from Base::Parameter

Base::Parameter::NAME_ELEMENT_NAME, Base::Parameter::NAME_XPATH, Base::Parameter::VALUE_ELEMENT_NAME, Base::Parameter::VALUE_XPATH

Instance Attribute Summary

Attributes inherited from Base::Parameter

#name, #value

Instance Method Summary (collapse)

Methods inherited from Base::Parameter

#==, from_h, from_xml_element, #initialize, #inspect, #to_h, #to_s, #to_xml, #to_xml_element

Constructor Details

This class inherits a constructor from RCAP::Base::Parameter

Instance Method Details

- (String) xmlns

Returns:



9
10
11
# File 'lib/rcap/cap_1_1/event_code.rb', line 9

def xmlns
  Alert::XMLNS
end