Method: Coinbase::Wallet::CurrentUser#update!

Defined in:
lib/coinbase/wallet/models/user.rb

#update!(params = {}) ⇒ Object



7
8
9
10
11
12
# File 'lib/coinbase/wallet/models/user.rb', line 7

def update!(params = {})
  @client.update_current_user(params) do |data, resp|
    update(resp.data)
    yield(resp.data, resp) if block_given?
  end
end