Class: EveOnline::ESI::Models::MarketPrice

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/market_price.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from EveOnline::ESI::Models::Base

Instance Method Details

#adjusted_priceObject



15
16
17
# File 'lib/eve_online/esi/models/market_price.rb', line 15

def adjusted_price
  options["adjusted_price"]
end

#as_jsonObject



7
8
9
10
11
12
13
# File 'lib/eve_online/esi/models/market_price.rb', line 7

def as_json
  {
    adjusted_price: adjusted_price,
    average_price: average_price,
    type_id: type_id
  }
end

#average_priceObject



19
20
21
# File 'lib/eve_online/esi/models/market_price.rb', line 19

def average_price
  options["average_price"]
end

#type_idObject



23
24
25
# File 'lib/eve_online/esi/models/market_price.rb', line 23

def type_id
  options["type_id"]
end