Sha256: ffc82f861d7abc1c829997808484b9130349755a56f2260c812bb11749524c2f

Contents?: true

Size: 671 Bytes

Versions: 9

Compression:

Stored size: 671 Bytes

Contents

module RCAP
  module CAP_1_2

    # 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

9 entries across 9 versions & 1 rubygems

Version Path
rcap-2.4.1 lib/rcap/cap_1_2/area.rb
rcap-2.4.0 lib/rcap/cap_1_2/area.rb
rcap-2.3.0 lib/rcap/cap_1_2/area.rb
rcap-2.2.1 lib/rcap/cap_1_2/area.rb
rcap-2.2.0 lib/rcap/cap_1_2/area.rb
rcap-2.1.0 lib/rcap/cap_1_2/area.rb
rcap-2.0.2 lib/rcap/cap_1_2/area.rb
rcap-2.0.1 lib/rcap/cap_1_2/area.rb
rcap-2.0.0 lib/rcap/cap_1_2/area.rb