Sha256: 410f803fcf37e7e892772397ec3be081d98c61bd8b0eb550e4a899cf72d795c4

Contents?: true

Size: 427 Bytes

Versions: 49

Compression:

Stored size: 427 Bytes

Contents

#
# ishapi / option_price_items / view
#


json.array! @opis do |opi|
  json.ticker     opi.ticker
  json.putCall    opi.putCall
  json.strikePrice opi.strikePrice
  json.symbol     opi.symbol
  json.bid        opi.bid
  json.ask        opi.ask
  json.last       opi.last
  # json.lastPrice  opi.lastPrice
  # json.open opi.openPrice
  json.timestamp opi.timestamp.strftime('%H:%M:%S')
  json.seconds   opi.timestamp.to_i
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
ishapi-0.1.8.274 app/views/ishapi/option_price_items/view.jbuilder
ishapi-0.1.8.273 app/views/ishapi/option_price_items/view.jbuilder
ishapi-0.1.8.272 app/views/ishapi/option_price_items/view.jbuilder
ishapi-0.1.8.271 app/views/ishapi/option_price_items/view.jbuilder
ishapi-0.1.8.270 app/views/ishapi/option_price_items/view.jbuilder
ishapi-0.1.8.269 app/views/ishapi/option_price_items/view.jbuilder
ishapi-0.1.8.268 app/views/ishapi/option_price_items/view.jbuilder
ishapi-0.1.8.267 app/views/ishapi/option_price_items/view.jbuilder
ishapi-0.1.8.266 app/views/ishapi/option_price_items/view.jbuilder