lib/dpd_api/order.rb in dpd_api-0.1.6 vs lib/dpd_api/order.rb in dpd_api-0.1.7
- old
+ new
@@ -3,10 +3,10 @@
module DpdApi
class Order < Base
class << self
def create_order(params = {})
method = :create_order
- response(method, params)
+ response(method, params, namespace: 'orders')
end
def cancel_order(params = {})
method = :cancel_order
response(method, params)