Sha256: 3877d632959ebc026408037aa46c525fba63d6f8c62b51a898822b4f9f5dc7b3

Contents?: true

Size: 287 Bytes

Versions: 7

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
lightspeed_restaurant-3.5.0 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-3.3.3 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-3.3.2 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-3.3.1 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-3.3.0 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-3.2.0 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-3.1.0 lib/lightspeed_restaurant/operations/save.rb