Sha256: 8f4856ff1771deb1668ce10eee0e2b39c84c28112039aefe799bfc2705925249

Contents?: true

Size: 755 Bytes

Versions: 3

Compression:

Stored size: 755 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class GeoCircle < ::OpenActive::Models::Schema::GeoShape
        # @!attribute type
        # @return [String]
        def type
          "schema:GeoCircle"
        end

        # @return [OpenActive::Models::Schema::GeoCoordinates,URI]
        define_property :geo_midpoint, as: "geoMidpoint", types: [
          "OpenActive::Models::Schema::GeoCoordinates",
          "URI",
        ]

        # @return [String,OpenActive::Models::Schema::Distance,BigDecimal,URI,nil]
        define_property :geo_radius, as: "geoRadius", types: [
          "string",
          "OpenActive::Models::Schema::Distance",
          "Number",
          "URI",
          "null",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/geo_circle.rb
openactive-0.2.1 lib/openactive/models/schema/geo_circle.rb
openactive-0.2.0 lib/openactive/models/schema/geo_circle.rb