Method: Figo#remove_account

Defined in:
lib/account/api_call.rb

#remove_account(account) ⇒ Object

Remove specific account

Parameters:

  • account (Account, String)

    the account to be removed or its ID



29
30
31
# File 'lib/account/api_call.rb', line 29

def ()
  query_api .is_a?(String) ? "/rest/accounts/#{}" : "/rest/accounts/#{.}", nil, "DELETE"
end