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

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

Methods included from Validation

#errors, included, #valid?, #validate

Constructor Details

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

Instance Method Details

#xmlnsString

Returns:


7
8
9
# File 'lib/rcap/cap_1_2/parameter.rb', line 7

def xmlns
  Alert::XMLNS
end