module Doshii::Client::Checkin
Constants
- API_URL
Public Instance Methods
allocate_table(checkin_id, query = {}, &block)
click to toggle source
# File lib/doshii/client/checkin.rb, line 6 def allocate_table(checkin_id, query = {}, &block) process_response(request :post, "#{API_URL}/#{checkin_id}", query, &block) end
create_checkin(location_id, query = {}, &block)
click to toggle source
# File lib/doshii/client/checkin.rb, line 10 def create_checkin(location_id, query = {}, &block) process_response(request :post, "#{API_URL}/#{location_id}", query, &block) end
delete_checkin(id)
click to toggle source
# File lib/doshii/client/checkin.rb, line 14 def delete_checkin(id) process_response(request :delete, "#{API_URL}/#{id}") end
get_checkin(id)
click to toggle source
# File lib/doshii/client/checkin.rb, line 18 def get_checkin(id) process_response(request :get, "#{API_URL}/#{id}") end
update_checkin(id, query = {}, &block)
click to toggle source
# File lib/doshii/client/checkin.rb, line 22 def update_checkin(id, query = {}, &block) process_response(request :put, "#{API_URL}/#{id}", query, &block) end