module FREDAPI::Client::Source

Source module for fred/source endpoint

Public Instance Methods

source(opts={}) click to toggle source

Get a source 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 [Integer] source_id The id for a source @option opts [String] realtime_start The start of the real-time period @option opts [String] realtime_end The end of the real-time period @return [Hashie::Mash] Hash containing the results

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