lib/ecoportal/api/internal/account.rb in ecoportal-api-0.3.0 vs lib/ecoportal/api/internal/account.rb in ecoportal-api-0.3.1

- old
+ new

@@ -1,9 +1,9 @@ module Ecoportal module API class Internal class Account < Common::BaseModel - passthrough :policy_group_ids, :landing_page_id, :permissions_preset, :permissions_custom, :preferences, :prefilter, :filter_tags, :login_provider_ids, :starred_ids, to: :doc + passthrough :policy_group_ids, :landing_page_id, :permissions_preset, :permissions_custom, :preferences, :prefilter, :filter_tags, :login_provider_ids, :starred_ids, :accept_eula, :send_invites, to: :doc VALID_TAG_REGEX = /^[A-Za-z0-9 &_'\/-]+$/ def preset=(value) self.permissions_preset = value == "custom" ? nil : value