Module: UserEngage::Operation::Update

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

Instance Method Summary collapse

Instance Method Details

#update(attributes_hash) ⇒ Object

Public: Updates the resources attributes (not the array) with the given attributes_hash.



9
10
11
12
# File 'lib/user_engage/operation/update.rb', line 9

def update(attributes_hash)
  update_remote!(attributes_hash) &&
    update_locally!(attributes_hash)
end