Sha256: 943f46d795652f6f6ddde14aa5be80641ec9f5ce96a8abbd6b59429f744635b7

Contents?: true

Size: 671 Bytes

Versions: 9

Compression:

Stored size: 671 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

9 entries across 9 versions & 1 rubygems

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