Sha256: b34de7af4791c1f134e94235d12dc2929c3cc28d1fa059bf2b2265043e1e838e

Contents?: true

Size: 239 Bytes

Versions: 1

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

module LightspeedRestaurantClient
  module Operations
    module Save
      def save
        LightspeedRestaurantClient.put(self.class.resource_path + "/#{id}", self)
        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/save.rb