Sha256: 4e3647282a601b2c6cfaed2a930db7a52eaa4c8b1a3fc9ae0223025a15fed564

Contents?: true

Size: 196 Bytes

Versions: 5

Compression:

Stored size: 196 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lightspeed_restaurant-0.3.0 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-0.2.0 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-0.1.5 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-0.1.4 lib/lightspeed_restaurant/operations/save.rb
lightspeed_restaurant-0.1.3 lib/lightspeed_restaurant/operations/save.rb