Class: PayuPl::Refunds::List

Inherits:
Operations::Base show all
Defined in:
lib/payu_pl/refunds/list.rb

Instance Method Summary collapse

Instance Method Details

#call(order_id) ⇒ Object



6
7
8
9
# File 'lib/payu_pl/refunds/list.rb', line 6

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