lib/ecoportal/api/v2/page/component/geo_field.rb in ecoportal-api-v2-0.8.8 vs lib/ecoportal/api/v2/page/component/geo_field.rb in ecoportal-api-v2-0.8.9

- old
+ new

@@ -2,12 +2,15 @@ module API class V2 class Page class Component class GeoField < Page::Component - passthrough :address, :coordinates + passthrough :address + embeds_one :coordinates, klass: "Ecoportal::API::V2::Page::Component::GeoCoordinates" end end end end end end + +require 'ecoportal/api/v2/page/component/geo_coordinates'