Sha256: 9f4504d5a05cf3948e28c8ed95f8a45f0ed1f6e038431a64a91eec2540f5d3ed

Contents?: true

Size: 671 Bytes

Versions: 9

Compression:

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

9 entries across 9 versions & 1 rubygems

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