lib/bearcat/client/tabs.rb in bearcat-1.4.13 vs lib/bearcat/client/tabs.rb in bearcat-1.5.0.beta1

- old
+ new

@@ -1,15 +1,12 @@ module Bearcat class Client < Footrest::Client module Tabs + extend ClientModule - def get_tabs(course, params={}) - get("/api/v1/courses/#{course}/tabs", params) + prefix "/api/v1/courses/:course/tabs/" do + get :get_tabs + put :update_tab, ":tab" end - - def update_tab(id, course, params={}) - put("/api/v1/courses/#{course}/tabs/#{id}", params) - end - end end end \ No newline at end of file