Class: PayuPl::Orders::Retrieve

Inherits:
PayuPl::Operations::Base show all
Defined in:
lib/payu_pl/orders/retrieve.rb

Instance Method Summary collapse

Instance Method Details

#call(order_id) ⇒ Object



6
7
8
9
# File 'lib/payu_pl/orders/retrieve.rb', line 6

def call(order_id)
  validate_id!(order_id, input_key: :order_id)
  transport.request(:get, Endpoints.order(order_id))
end