Sha256: 390c0fa7f149278c3053884d39331b92217aa54ee087064e5eccc69d284fda74

Contents?: true

Size: 669 Bytes

Versions: 4

Compression:

Stored size: 669 Bytes

Contents

module RCAP
  module CAP_1_1
    # 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_1/area.rb
rcap-2.6.0 lib/rcap/cap_1_1/area.rb
rcap-2.5.1 lib/rcap/cap_1_1/area.rb
rcap-2.5.0 lib/rcap/cap_1_1/area.rb