lib/kentaa/api/resources/project.rb in kentaa-api-0.3.1 vs lib/kentaa/api/resources/project.rb in kentaa-api-0.3.2
- old
+ new
@@ -131,9 +131,13 @@
def consent
@consent ||= Kentaa::Api::Resources::Consent.new(config, data: data[:consent]) if data[:consent]
end
+ def contact
+ @contact ||= Kentaa::Api::Resources::Contact.new(config, data: data[:contact]) if data[:contact]
+ end
+
def external_reference
data[:external_reference]
end
protected