lib/lightspeed_restaurant/operations/find.rb in lightspeed_restaurant-3.0.0 vs lib/lightspeed_restaurant/operations/find.rb in lightspeed_restaurant-3.1.0
- old
+ new
@@ -2,10 +2,10 @@
module LightspeedRestaurantClient
module Operations
module Find
def find(id, configuration = nil)
- response = JSON.parse(LightspeedRestaurantClient.get(resource_path + "/#{id}", {}, configuration))
+ response = JSON.parse(LightspeedRestaurantClient.get(default_resource_path + "/#{id}", {}, configuration))
new(response)
end
end
end
end