Sha256: da2edd308cd312219fc930e3db8d1d78ae19f30caf0d9c87b37881b15ce94499

Contents?: true

Size: 313 Bytes

Versions: 27

Compression:

Stored size: 313 Bytes

Contents

require_relative 'resource'

module Contentful
  # Location Field Type
  # You can directly query for them: https://www.contentful.com/developers/documentation/content-delivery-api/#search-filter-geo
  class Location
    include Contentful::Resource

    property :lat, :float
    property :lon, :float
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
contentful-1.2.2 lib/contentful/location.rb
contentful-1.2.1 lib/contentful/location.rb
contentful-1.2.0 lib/contentful/location.rb
contentful-1.1.1 lib/contentful/location.rb
contentful-1.1.0 lib/contentful/location.rb
contentful-1.0.2 lib/contentful/location.rb
contentful-1.0.1 lib/contentful/location.rb
contentful-1.0.0 lib/contentful/location.rb
contentful-0.12.0 lib/contentful/location.rb
contentful-0.11.0 lib/contentful/location.rb
contentful-0.10.0 lib/contentful/location.rb
contentful-0.9.0 lib/contentful/location.rb
contentful-0.8.0 lib/contentful/location.rb
contentful-0.7.0 lib/contentful/location.rb
contentful-0.6.0 lib/contentful/location.rb
contentful-0.5.0 lib/contentful/location.rb
contentful-0.4.0 lib/contentful/location.rb
contentful-0.3.5 lib/contentful/location.rb
contentful-0.3.4 lib/contentful/location.rb
contentful-0.3.3 lib/contentful/location.rb