lib/ecoportal/api/v2/page/component/signature_field.rb in ecoportal-api-v2-0.8.29 vs lib/ecoportal/api/v2/page/component/signature_field.rb in ecoportal-api-v2-0.8.30
- old
+ new
@@ -16,9 +16,12 @@
passthrough :signed_by_id, :signed_by_name, read_only: true
passthrough :signature_url, read_only: true
passdate :signature_updated_at, read_only: true
passthrough :signature_content, :color
+ def to_s
+ [signed_by_name, signature_updated_at].join(" at ")
+ end
end
end
end
end
end