Sha256: 8657712562b3203fe438cb049c0065039ba82a3bda25fa8550eda044562e388a

Contents?: true

Size: 208 Bytes

Versions: 4

Compression:

Stored size: 208 Bytes

Contents

module LightspeedRestaurantClient
  module Operations
    module Save
      def save
        LightspeedRestaurantClient.put(self.class.resource_path + "/#{id}", self)
        self
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lightspeed_restaurant-1.1.2 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-1.1.1 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-1.1.0 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-1.0.0 lib/lightspeed_restaurant/operations/save.rb