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-0.3.2 lib/contentful/location.rb
contentful-0.3.1 lib/contentful/location.rb
contentful-0.3.0 lib/contentful/location.rb
contentful-0.2.0 lib/contentful/location.rb
contentful-0.1.3 lib/contentful/location.rb
contentful-0.1.2 lib/contentful/location.rb
contentful-0.1.1 lib/contentful/location.rb