module FedgerAPI::Client::Stats

Stats

Public Instance Methods

stats_fundings(year, query) click to toggle source

TODO

# File lib/fedger_api/client/stats.rb, line 6
def stats_fundings(year, query)
  stats_provider(year, query, '/fundings')
end

Private Instance Methods

stats_provider(year, query, uri) click to toggle source
# File lib/fedger_api/client/stats.rb, line 12
def stats_provider(year, query, uri)
  Response.new(stats_request(year, query, uri))
end
stats_request(year, query, uri) click to toggle source
# File lib/fedger_api/client/stats.rb, line 16
def stats_request(year, query, uri)
  self.class.get("/stats#{uri}/#{year}", merge_options(query))
end