lib/rcap/cap_1_2/geocode.rb in rcap-1.3.1 vs lib/rcap/cap_1_2/geocode.rb in rcap-2.0.0

- old
+ new

@@ -1,9 +1,14 @@ module RCAP module CAP_1_2 # Subclass of {Parameter} - class Geocode < Parameter - XML_ELEMENT_NAME = 'geocode' - XPATH = "cap:#{ XML_ELEMENT_NAME }" + class Geocode < RCAP::Base::Geocode + XML_ELEMENT_NAME = 'geocode' + XPATH = "cap:#{ XML_ELEMENT_NAME }" + + # @return [String] + def xmlns + Alert::XMLNS + end end end end