Sha256: d47fd12a053eebbd47c2c9d7b94077f44ea7ee330dcdd01b83ba2711dfc07b37

Contents?: true

Size: 306 Bytes

Versions: 6

Compression:

Stored size: 306 Bytes

Contents

# frozen_string_literal: true

module LightspeedRestaurantClient
  module Operations
    module Find
      def find(id, configuration = nil)
        response = JSON.parse(LightspeedRestaurantClient.get(default_resource_path + "/#{id}", {}, configuration))
        new(response)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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