Sha256: 56080cf1ded40c3bea5f0a3157b1ce5cc23e6324e20c39108326782deaafd398
Contents?: true
Size: 805 Bytes
Versions: 2
Compression:
Stored size: 805 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.31.0 | lib/eve_online/esi/models/market_history.rb |
eve_online-0.30.0 | lib/eve_online/esi/models/market_history.rb |