module Ecoportal module API class V2 class Page class Component class GeoField < Page::Component passthrough :address embeds_one :coordinates, klass: "Ecoportal::API::V2::Page::Component::GeoCoordinates" def to_s coordinates.to_s end end end end end end end require 'ecoportal/api/v2/page/component/geo_coordinates'