Sha256: 7333778cb01c3dbce0141fe58acf99a954365979ff740b7b7e267bd3a82894dd

Contents?: true

Size: 767 Bytes

Versions: 4

Compression:

Stored size: 767 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from [GeoCoordinates](https://schema.org/GeoCoordinates), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
    class GeoCoordinates < ::OpenActive::Models::Schema::GeoCoordinates
      # @!attribute type
      # @return [String]
      def type
        "GeoCoordinates"
      end

      # @return [BigDecimal,nil]
      define_property :latitude, as: "latitude", types: [
        "Number",
        "null",
      ]

      # @return [BigDecimal,nil]
      define_property :longitude, as: "longitude", types: [
        "Number",
        "null",
      ]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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