Sha256: 652591991a51c6f6d8bfeeb7ef4017dde44a369470b193a60ea1108abfb7e767

Contents?: true

Size: 644 Bytes

Versions: 6

Compression:

Stored size: 644 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/GeoCoordinates, which means that any of this type's properties within schema.org may also be used.
    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

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/geo_coordinates.rb
openactive-0.4.0 lib/openactive/models/geo_coordinates.rb
openactive-0.3.0 lib/openactive/models/geo_coordinates.rb
openactive-0.2.2 lib/openactive/models/geo_coordinates.rb
openactive-0.2.1 lib/openactive/models/geo_coordinates.rb
openactive-0.2.0 lib/openactive/models/geo_coordinates.rb