lib/payu_api/order.rb in payu_api-0.1.3 vs lib/payu_api/order.rb in payu_api-0.1.4

- old
+ new

@@ -1,9 +1,9 @@ module PayuAPI class Order class << self def get(client:, order_id:) - request = ApiRequest.new(client: client, method: 'GET', url: "/api/v2_1/orders/#{order_id}") + request = ApiRequest.new(client, :GET, "/api/v2_1/orders/#{order_id}") GetResponse.new(http_response: request.call) end def create(client:, params:) post_params = params.merge(