Class: RCAP::CAP_1_2::Parameter

Inherits:
Base::Parameter show all
Defined in:
lib/rcap/cap_1_2/parameter.rb

Overview

A Parameter object is valid if

  • it has a name

  • it has a value

Constant Summary

Constant Summary

Constants inherited from Base::Parameter

Base::Parameter::NAME_ELEMENT_NAME, Base::Parameter::NAME_XPATH, Base::Parameter::VALUE_ELEMENT_NAME, Base::Parameter::VALUE_XPATH, Base::Parameter::XML_ELEMENT_NAME, Base::Parameter::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:



10
11
12
# File 'lib/rcap/cap_1_2/parameter.rb', line 10

def xmlns
  Alert::XMLNS
end