module FREDAPI::Client::Sources

Sources module for fred/sources endpoint

Public Instance Methods

sources(opts={}) click to toggle source

Get all sources of economic data

@param opts [Hash] options hash of parameters @option opts [Integer] api_key 32 character alpha-numeric lowercase string @option opts [String] file_type A key or file extension that indicates the type of file to send @option opts [String] realtime_start The start of the real-time period @option opts [String] realtime_end The end of the real-time period @option opts [Integer] limit The maximum number of results to return @option opts [Integer] offset Non-negative integer @option opts [String] order_by Order results by values of the specified attribute @option opts [String] sort_order Sort results is ascending or descending order for attribute values specified by order_by @return [Hashie::Mash] Hash containing the results

# File lib/fredapi/client/sources.rb, line 18
def sources opts={}
  get "fred/sources", opts
end