module FedgerAPI::Client::News

News

Public Instance Methods

latest_fundings() click to toggle source

Returns a collection of the most recent fundings covered.

# File lib/fedger_api/client/news.rb, line 6
def latest_fundings
  news_provider('/fundings')
end

Private Instance Methods

news_provider(uri) click to toggle source
# File lib/fedger_api/client/news.rb, line 12
def news_provider(uri)
  Response.new(news_request(uri))
end
news_request(uri) click to toggle source
# File lib/fedger_api/client/news.rb, line 16
def news_request(uri)
  self.class.get("/news#{uri}", merge_options)
end