Sha256: d9a52e67d79453c16a4382020b531527b3c6513213576fba8b405e8e74e9d075

Contents?: true

Size: 669 Bytes

Versions: 4

Compression:

Stored size: 669 Bytes

Contents

module RCAP
  module CAP_1_0
    # An Area object is valid if
    # * it has an area description
    # * all Circle objects contained in circles are valid
    # * all Geocode objects contained in geocodes are valid
    # * all Polygon objects contained in polygons are valid
    # * altitude has a value if ceiling is set
    class Area < RCAP::Base::Area
      # @return [String]
      def xmlns
        Alert::XMLNS
      end

      # @return [Class]
      def polygon_class
        Polygon
      end

      # @return [Class]
      def circle_class
        Circle
      end

      # @return [Class]
      def geocode_class
        Geocode
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rcap-2.7.0 lib/rcap/cap_1_0/area.rb
rcap-2.6.0 lib/rcap/cap_1_0/area.rb
rcap-2.5.1 lib/rcap/cap_1_0/area.rb
rcap-2.5.0 lib/rcap/cap_1_0/area.rb