Class: Versapay::FundSources
- Inherits:
-
Object
- Object
- Versapay::FundSources
- Defined in:
- lib/versapay/fund_sources.rb
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ FundSources
constructor
A new instance of FundSources.
- #list ⇒ Object
Constructor Details
#initialize {|_self| ... } ⇒ FundSources
Returns a new instance of FundSources.
6 7 8 |
# File 'lib/versapay/fund_sources.rb', line 6 def initialize(&block) yield self if block_given? end |
Instance Method Details
#list ⇒ Object
10 11 12 |
# File 'lib/versapay/fund_sources.rb', line 10 def list Versapay::make_request(:get, "/api/funds.json") end |