Class: Esi::Calls::MarketHistory

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

Instance Attribute Summary

Attributes inherited from Base

#params, #path

Instance Method Summary collapse

Methods inherited from Base

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

Constructor Details

#initialize(region_id:, type_id:) ⇒ MarketHistory



444
445
446
447
# File 'lib/esi/calls.rb', line 444

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