Sha256: 385a85b9a806727e98bd997da5bc84974df04d1c13b578e6ec080ffaf5f4db43

Contents?: true

Size: 402 Bytes

Versions: 43

Compression:

Stored size: 402 Bytes

Contents

module RockRMS
  class Client
    module Fund
      def list_funds(options = {})
        res = get(fund_path, options)
        Response::Fund.format(res)
      end

      def find_fund(id)
        res = get(fund_path(id))
        Response::Fund.format(res)
      end

      private

      def fund_path(id = nil)
        id ? "FinancialAccounts/#{id}" : 'FinancialAccounts'
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
rock_rms-8.18.0 lib/rock_rms/resources/fund.rb
rock_rms-8.17.0 lib/rock_rms/resources/fund.rb
rock_rms-8.16.0 lib/rock_rms/resources/fund.rb
rock_rms-8.15.2 lib/rock_rms/resources/fund.rb
rock_rms-8.15.1 lib/rock_rms/resources/fund.rb
rock_rms-8.15.0 lib/rock_rms/resources/fund.rb
rock_rms-8.14.0 lib/rock_rms/resources/fund.rb
rock_rms-8.13.0 lib/rock_rms/resources/fund.rb
rock_rms-8.12.0 lib/rock_rms/resources/fund.rb
rock_rms-8.11.0 lib/rock_rms/resources/fund.rb
rock_rms-8.10.0 lib/rock_rms/resources/fund.rb
rock_rms-8.9.0 lib/rock_rms/resources/fund.rb
rock_rms-8.8.0 lib/rock_rms/resources/fund.rb
rock_rms-8.7.0 lib/rock_rms/resources/fund.rb
rock_rms-8.6.0 lib/rock_rms/resources/fund.rb
rock_rms-8.5.0 lib/rock_rms/resources/fund.rb
rock_rms-8.4.0 lib/rock_rms/resources/fund.rb
rock_rms-8.3.0 lib/rock_rms/resources/fund.rb
rock_rms-8.2.1 lib/rock_rms/resources/fund.rb
rock_rms-8.2.0 lib/rock_rms/resources/fund.rb