Sha256: 0fcd25bb5d6a6b4245ac6b86977b9b94c18e5706e7d9b52ec696e7f099681ced

Contents?: true

Size: 215 Bytes

Versions: 8

Compression:

Stored size: 215 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lightspeed_restaurant-0.3.0 lib/lightspeed_restaurant/operations/find.rb
lightspeed_restaurant-0.2.0 lib/lightspeed_restaurant/operations/find.rb
lightspeed_restaurant-0.1.5 lib/lightspeed_restaurant/operations/find.rb
lightspeed_restaurant-0.1.4 lib/lightspeed_restaurant/operations/find.rb
lightspeed_restaurant-0.1.3 lib/lightspeed_restaurant/operations/find.rb
lightspeed_restaurant-0.1.2 lib/lightspeed_restaurant/operations/find.rb
lightspeed_restaurant-0.1.1 lib/lightspeed_restaurant/operations/find.rb
lightspeed_restaurant-0.1.0 lib/lightspeed_restaurant/operations/find.rb