module YouCanBookMe::Client::Profiles::Bookings
Public Instance Methods
create(profile_id, params = {})
click to toggle source
# File lib/YouCanBookMe/client/profiles/bookings.rb, line 15 def create(profile_id, params = {}) post("/profiles/#{profile_id}/bookings", params) end
destroy(profile_id, booking_id, params = {})
click to toggle source
# File lib/YouCanBookMe/client/profiles/bookings.rb, line 27 def destroy(profile_id, booking_id, params = {}) delete("/profiles/#{profile_id}/bookings/#{booking_id}", params) end
index(profile_id, params = {})
click to toggle source
# File lib/YouCanBookMe/client/profiles/bookings.rb, line 11 def index(profile_id, params = {}) get("/profiles/#{profile_id}/bookings", params) end
show(profile_id, booking_id, params = {})
click to toggle source
# File lib/YouCanBookMe/client/profiles/bookings.rb, line 19 def show(profile_id, booking_id, params = {}) get("/profiles/#{profile_id}/bookings/#{booking_id}", params) end
update(profile_id, booking_id, params = {})
click to toggle source
# File lib/YouCanBookMe/client/profiles/bookings.rb, line 23 def update(profile_id, booking_id, params = {}) patch("/profiles/#{profile_id}/bookings/#{booking_id}", params) end