Class: Pin::Balance
Overview
This class models Pin’s Balance API
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
-
.get ⇒ Object
Returns the current balance of your Pin Payments account.
Methods inherited from Base
#base_uri, build_collection_response, build_response, #initialize, make_request
Constructor Details
This class inherits a constructor from Pin::Base
Class Method Details
.get ⇒ Object
Returns the current balance of your Pin Payments account. Transfers can only be made using the funds in the available balance. The pending amount will become available after the 7 day settlement schedule on your charges.
11 12 13 |
# File 'lib/pin_up/balance.rb', line 11 def self.get build_response(make_request(:get, { url: 'balance' })) end |