Sha256: 3fb79f9a6573985429ea9ac24ceee56e7c39f00f1065296783a185c2ea8069d1

Contents?: true

Size: 713 Bytes

Versions: 4

Compression:

Stored size: 713 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]
        define_property :geo_midpoint, as: "geoMidpoint", types: [
          "OpenActive::Models::Schema::GeoCoordinates",
        ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/geo_circle.rb
openactive-0.1.1 lib/openactive/models/schema/geo_circle.rb
openactive-0.1.0 lib/openactive/models/schema/geo_circle.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/geo_circle.rb