Class: FellowshipOne::SubFundListReader

Inherits:
ApiReader
  • Object
show all
Defined in:
lib/readers/sub_fund_list_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, options = {}) ⇒ SubFundListReader

Constructor.



6
7
8
9
# File 'lib/readers/sub_fund_list_reader.rb', line 6

def initialize(fund_id, options = {})
  @url_data_params = options[:url_data_params]
  @url_data_path = options[:url_data_path] || "/giving/v1/funds/#{fund_id}/subfunds"
end