Module: BridgeAPI::Client::Account
- Defined in:
- lib/bridge_api/client/account.rb
Instance Method Summary collapse
Instance Method Details
#create_account(params = {}) ⇒ Object
6 7 8 |
# File 'lib/bridge_api/client/account.rb', line 6 def create_account(params = {}) post("#{API_PATH}#{ADMIN_PATH}/sub_accounts", params) end |
#update_account(account_id, params = {}) ⇒ Object
10 11 12 |
# File 'lib/bridge_api/client/account.rb', line 10 def update_account(account_id, params = {}) put("#{API_PATH}#{SUPPORT_PATH}#{ACCOUNT_PATH}/#{account_id}", params) end |