Sha256: 8dcc997c8f3561e7f14ee6d11e8a7c667b61bc57738e5ddfe126ac18c16ef191
Contents?: true
Size: 804 Bytes
Versions: 13
Compression:
Stored size: 804 Bytes
Contents
# frozen_string_literal: true module EveOnline module ESI module Models class MarketHistory < Base def as_json { average: average, date: date, highest: highest, lowest: lowest, order_count: order_count, volume: volume } end def average options['average'] end def date date = options['date'] parse_datetime_with_timezone(date) if date end def highest options['highest'] end def lowest options['lowest'] end def order_count options['order_count'] end def volume options['volume'] end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems