Sha256: cef113a73fe84fc8c0e92dacf0cb36a0a41f474b322a15583af87a15ecd47453

Contents?: true

Size: 755 Bytes

Versions: 1

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 [BigDecimal,String,OpenActive::Models::Schema::Distance,URI,nil]
        define_property :geo_radius, as: "geoRadius", types: [
          "Number",
          "string",
          "OpenActive::Models::Schema::Distance",
          "URI",
          "null",
        ]

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/geo_circle.rb