Module: Campaigns

Included in:
TessituraRest
Defined in:
lib/tessitura_rest/finance/campaigns.rb

Instance Method Summary collapse

Instance Method Details

#get_campaign_by_fund_id(fund, options = {}) ⇒ Object



2
3
4
5
# File 'lib/tessitura_rest/finance/campaigns.rb', line 2

def get_campaign_by_fund_id(fund, options = {})
  options.merge!(basic_auth: @auth, headers: @headers)
  self.class.get(base_api_endpoint("Finance/CampaignFunds?fundId=#{fund}&asOfDateTime=#{DateTime.now}"), options)
end