Sha256: 0809e593d0505980da65636c04dbc892bd56e287aa874bc793f8416111b5e54a

Contents?: true

Size: 208 Bytes

Versions: 18

Compression:

Stored size: 208 Bytes

Contents

json.ticker @stock.ticker
json.last   @stock.last

json.datapoints @datapoints do |p|
  json.quote_at  Time.at(p.quote_at).strftime('%Y-%m-%d')
  # json.timestamp p.timestamp
  json.value      p.value
end


Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
iron_warbler-2.0.7.45 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.43 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.42 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.41 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.40 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.39 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.38 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.37 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.36 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.35 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.34 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.33 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.32 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.31 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.30 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.29 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.28 app/views/iro/api/stocks/show.json.jbuilder
iron_warbler-2.0.7.27 app/views/iro/api/stocks/show.json.jbuilder