Class: Esi::Calls::MarketHistory

Inherits:
Base
  • Object
show all
Defined in:
lib/esi/calls/markets.rb

Constant Summary

Constants inherited from Base

Base::CACHE_NAMESPACE

Instance Attribute Summary

Attributes inherited from Base

#params, #path

Instance Method Summary collapse

Methods inherited from Base

#cache_key, #method, #page, #page=, #paginated?, #url

Constructor Details

#initialize(region_id:, type_id:) ⇒ MarketHistory

Returns a new instance of MarketHistory.



16
17
18
19
# File 'lib/esi/calls/markets.rb', line 16

def initialize(region_id:, type_id:)
  @path = "/markets/#{region_id}/history"
  @params = { type_id: type_id }
end