Method: BLS_API::Month#footnotes

Defined in:
lib/bls_api/month.rb

#footnotesObject



21
22
23
24
25
26
# File 'lib/bls_api/month.rb', line 21

def footnotes
  non_empty_footnotes = @raw_month["footnotes"].reject { |x| x.empty? }
  Hash[non_empty_footnotes.map do |footnote|
    [footnote["code"], footnote["text"]]
  end]
end