module BridgeAPI::Client::Account

Public Instance Methods

create_account(params = {}) click to toggle source
# 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 = {}) click to toggle source
# 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