Class: Versapay::FundSources

Inherits:
Object
  • Object
show all
Defined in:
lib/versapay/fund_sources.rb

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ FundSources

Returns a new instance of FundSources.

Yields:

  • (_self)

Yield Parameters:



6
7
8
# File 'lib/versapay/fund_sources.rb', line 6

def initialize(&block)
  yield self if block_given?
end

Instance Method Details

#listObject



10
11
12
# File 'lib/versapay/fund_sources.rb', line 10

def list
  Versapay::make_request(:get, "/api/funds.json")
end