Class: FellowshipOne::FundReader

Inherits:
ApiReader show all
Defined in:
lib/readers/fund_reader.rb

Instance Attribute Summary

Attributes inherited from ApiReader

#headers

Instance Method Summary collapse

Methods inherited from ApiReader

#load_feed, #load_new

Constructor Details

#initialize(fund_id) ⇒ FundReader

Constructor.

Parameters:

  • fund_id

    The ID of the fund to load.



8
9
10
# File 'lib/readers/fund_reader.rb', line 8

def initialize(fund_id)
  @url_data_path = "/giving/v1/funds/#{fund_id}"
end