lib/lightspeed_restaurant/operations/destroy.rb in lightspeed_restaurant-1.1.2 vs lib/lightspeed_restaurant/operations/destroy.rb in lightspeed_restaurant-2.0.0

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + module LightspeedRestaurantClient module Operations module Destroy def destroy JSON.parse(LightspeedRestaurantClient.delete(self.class.resource_path + "/#{id}"))