Class: Payassist::Balance

Inherits:
Client
  • Object
show all
Defined in:
lib/payassist/balance.rb

Overview

Get balance API

Instance Method Summary collapse

Methods inherited from Client

#handle_error, #interpret_response, #send_request

Instance Method Details

#get(data) ⇒ Object



9
10
11
12
# File 'lib/payassist/balance.rb', line 9

def get(data)
  body = prepare_body("accountsBalance", data)
  send_request(path: "accounts/fetch-balance", body: body)
end