Sha256: f7b17cd64bd75c1c6106f8eb5018a97768e9d47596d620e3633bb7bbbfb77274

Contents?: true

Size: 214 Bytes

Versions: 7

Compression:

Stored size: 214 Bytes

Contents

require 'rest_client'

module Versapay
  class FundSources

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
versapay-0.1.5 lib/versapay/fund_sources.rb
versapay-0.1.4 lib/versapay/fund_sources.rb
versapay-0.1.3 lib/versapay/fund_sources.rb
versapay-0.1.2 lib/versapay/fund_sources.rb
versapay-0.1.1 lib/versapay/fund_sources.rb
versapay-0.1.0 lib/versapay/fund_sources.rb
versapay-0.0.1 lib/versapay/fund_sources.rb