lib/bearcat/client/courses.rb in bearcat-0.9.16 vs lib/bearcat/client/courses.rb in bearcat-0.9.17
- old
+ new
@@ -1,10 +1,10 @@
module Bearcat
class Client < Footrest::Client
module Courses
- def course(course)
- get("/api/v1/courses/#{course}")
+ def course(course, params={})
+ get("/api/v1/courses/#{course}", params)
end
def create_course(account_id, params={})
post("/api/v1/accounts/#{account_id}/courses", params)
end
\ No newline at end of file