lib/bearcat/client/progresses.rb in bearcat-1.4.13 vs lib/bearcat/client/progresses.rb in bearcat-1.5.0.beta1
- old
+ new
@@ -1,10 +1,9 @@
module Bearcat
class Client < Footrest::Client
module Progresses
+ extend ClientModule
- def progress(progress, params={})
- get("/api/v1/progress/#{progress}", params)
- end
+ get :progress, "/api//v1/progress/:progress"
end
end
end