class Greeve::Corporation::MarketOrders

Corporation market orders.

@see eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/corporation/corp_marketorders.html

Public Class Methods

new(opts = {}) click to toggle source

@option opts [Integer] :order_id (nil) ID of an order to retrieve

Calls superclass method Greeve::BaseItem::new
# File lib/greeve/corporation/market_orders.rb, line 30
def initialize(opts = {})
  order_id = opts.delete(:order_id)

  opts[:query_params] = { "orderID" => order_id } if order_id

  super(opts)
end