Method: Discogs::Wrapper#get_order

Defined in:
lib/discogs/wrapper.rb

#get_order(order_id) ⇒ Hash

Note:

Authentication as the owner is required.

View the data associated with an order.

Parameters:

  • order_id (Integer)

    order id

Returns:

  • (Hash)

    order information



538
539
540
541
542
# File 'lib/discogs/wrapper.rb', line 538

def get_order(order_id)
  authenticated? do
    query_and_build "marketplace/orders/#{order_id}"
  end
end