lib/passaporte_web/identity.rb in passaporteweb-client-0.0.14 vs lib/passaporte_web/identity.rb in passaporteweb-client-0.0.15

- old
+ new

@@ -6,10 +6,10 @@ class Identity include Attributable ATTRIBUTES = [:accounts, :birth_date, :country, :cpf, :email, :first_name, :gender, :is_active, :language, :last_name, :nickname, :notifications, :send_myfreecomm_news, :send_partner_news, :services, :timezone, :update_info_url, :uuid, :password, :password2, :must_change_password, :inhibit_activation_message, :tos] UPDATABLE_ATTRIBUTES = [:first_name, :last_name, :nickname, :cpf, :birth_date, :gender, :send_myfreecomm_news, :send_partner_news, :country, :language, :timezone] - CREATABLE_ATTRIBUTES = *(UPDATABLE_ATTRIBUTES + [:email, :password, :password2, :must_change_password, :tos]) + CREATABLE_ATTRIBUTES = *(UPDATABLE_ATTRIBUTES + [:email, :password, :password2, :must_change_password, :tos, :inhibit_activation_message]) attr_accessor *UPDATABLE_ATTRIBUTES attr_reader *(ATTRIBUTES - UPDATABLE_ATTRIBUTES) attr_reader :errors