class EveOnline::ESI::MarketHistory
Constants
- API_PATH
Attributes
region_id[R]
type_id[R]
Public Class Methods
new(options)
click to toggle source
Calls superclass method
EveOnline::ESI::Base::new
# File lib/eve_online/esi/market_history.rb, line 10 def initialize(options) super @region_id = options.fetch(:region_id) @type_id = options.fetch(:type_id) end
Public Instance Methods
additional_query_params()
click to toggle source
# File lib/eve_online/esi/market_history.rb, line 31 def additional_query_params [:type_id] end
history()
click to toggle source
# File lib/eve_online/esi/market_history.rb, line 17 def history @history ||= begin output = [] response.each do |history| output << Models::MarketHistory.new(history) end output end end
path()
click to toggle source
# File lib/eve_online/esi/market_history.rb, line 35 def path format(API_PATH, region_id: region_id) end
scope()
click to toggle source
# File lib/eve_online/esi/market_history.rb, line 28 def scope end