Module: UserEngage::Operation::UpdateAttributes

Included in:
Company, User
Defined in:
lib/user_engage/operation/update_attributes.rb

Instance Method Summary collapse

Instance Method Details

#update_attributes(attributes_hash) ⇒ Object

Public: Updates attributes of the resource

Params: attributes - A hash where the key is the name_std of the attribute to set and the value is the value to set



12
13
14
15
# File 'lib/user_engage/operation/update_attributes.rb', line 12

def update_attributes(attributes_hash)
  update_remote_attributes!(attributes_hash) &&
    update_local_attributes!(attributes_hash)
end