|
|
|
@ -12,7 +12,7 @@ class CPIFeed < Sinatra::Base
|
|
|
|
|
|
|
|
|
|
expires 300, :public, :must_revalidate
|
|
|
|
|
content_type :csv
|
|
|
|
|
"cpi\n#{resp['Results']['series'].first['data'].first['value']}\n"
|
|
|
|
|
"#{resp['Results']['series'].first['data'].first['value']}\n"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def cpi_series_url
|
|
|
|
|