class Esi::Calls::MarketOrders

Public Class Methods

new(region_id:, type_id: nil) click to toggle source
# File lib/esi/calls/markets.rb, line 52
def initialize(region_id:, type_id: nil)
  @path = "/markets/#{region_id}/orders"
  @params = { order_type: :all }
  @params[:type_id] = type_id if type_id.present?
  @paginated = type_id.blank?
end