Class: Pin::Balance

Inherits:
Base
  • Object
show all
Defined in:
lib/pin_up/balance.rb

Overview

This class models Pin’s Balance API

Instance Attribute Summary

Attributes inherited from Base

#key

Class Method Summary collapse

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

.getObject

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.

pinpayments.com/docs/api/balance



11
12
13
# File 'lib/pin_up/balance.rb', line 11

def self.get
  build_response(make_request(:get, { url: 'balance' }))
end