Method: Figo#remove_account
- Defined in:
- lib/account/api_call.rb
#remove_account(account) ⇒ Object
Remove specific account
29 30 31 |
# File 'lib/account/api_call.rb', line 29 def remove_account(account) query_api account.is_a?(String) ? "/rest/accounts/#{account}" : "/rest/accounts/#{account.account_id}", nil, "DELETE" end |