diff --git a/lib/lightspeed_restaurant/operations/renew.rb b/lib/lightspeed_restaurant/operations/renew.rb index 4d807c4..94ff2c6 100644 --- a/lib/lightspeed_restaurant/operations/renew.rb +++ b/lib/lightspeed_restaurant/operations/renew.rb @@ -4,7 +4,7 @@ module LightspeedRestaurantClient module Operations module Renew def renew(id, configuration = nil) - response = JSON.parse(LightspeedRestaurantClient.post("#{default_resource_path}/#{id}/renew", {}, configuration)) + response = JSON.parse(LightspeedRestaurantClient.post("#{default_resource_path}/#{id}/renew", {}, {}, configuration)) new(response) end end