class Contentful::Location
Location
Field
Type You can directly query for them: www.contentful.com/developers/documentation/content-delivery-api/#search-filter-geo
Attributes
lat[R]
latitude[R]
lon[R]
longitude[R]
Public Class Methods
new(json)
click to toggle source
# File lib/contentful/location.rb, line 9 def initialize(json) @lat = json.fetch('lat', nil) @lon = json.fetch('lon', nil) end