Sha256: b923be14ce7011ee6947956d91dce71c865f3ee1ab7deeed9f98159f75549fbd

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lightspeed_restaurant-1.1.2 lib/lightspeed_restaurant/operations/find.rb
lightspeed_restaurant-1.1.1 lib/lightspeed_restaurant/operations/find.rb
lightspeed_restaurant-1.1.0 lib/lightspeed_restaurant/operations/find.rb
lightspeed_restaurant-1.0.0 lib/lightspeed_restaurant/operations/find.rb