Module: FREDAPI::Client::Release::Sources

Included in:
FREDAPI::Client::Release
Defined in:
lib/fredapi/client/release/sources.rb

Overview

Sources module for fred/release/sources endpoint

Instance Method Summary collapse

Instance Method Details

#release_sources(opts = {}) ⇒ Hashie::Mash

Get the sources on a release of economic data

Parameters:

  • opts (Hash) (defaults to: {})

    options hash of parameters

Options Hash (opts):

  • api_key (Integer)

    32 character alpha-numeric lowercase string

  • file_type (String)

    A key or file extension that indicates the type of file to send

  • release_id (Integer)

    The id for a release

  • realtime_start (String)

    The start of the real-time period

  • realtime_end (String)

    The end of the real-time period

Returns:

  • (Hashie::Mash)

    Hash containing the results



16
17
18
# File 'lib/fredapi/client/release/sources.rb', line 16

def release_sources opts={}
  get "fred/release/sources", opts
end