lib/ecoportal/api/v2/page/component/geo_field.rb in ecoportal-api-v2-0.8.20 vs lib/ecoportal/api/v2/page/component/geo_field.rb in ecoportal-api-v2-0.8.21

- old
+ new

@@ -4,9 +4,13 @@ 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