Sha256: 9ff179ad7192f75a87d8ddf041bc7e9f17046ad8d62223d0d675100df3ee8406

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

module LightspeedRestaurantClient
  module Operations
    module Update
      def update(id, attributes, configuration = nil)
        updated_object = new(attributes)
        LightspeedRestaurantClient.put(resource_path + "/#{id}", updated_object, {}, configuration)
        updated_object
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lightspeed_restaurant-3.0.0 lib/lightspeed_restaurant/operations/update.rb