Sha256: 0c6d06d2020e499eae9c6e059f129d63631201bb9411a500ca719491f601e235

Contents?: true

Size: 254 Bytes

Versions: 1

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

module LightspeedRestaurantClient
  module Operations
    module Destroy
      def destroy
        JSON.parse(LightspeedRestaurantClient.delete(self.class.resource_path + "/#{id}"))
        self
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lightspeed_restaurant-2.0.0 lib/lightspeed_restaurant/operations/destroy.rb