lib/bearcat/client/outcome_groups.rb in bearcat-1.4.13 vs lib/bearcat/client/outcome_groups.rb in bearcat-1.5.0.beta1
- old
+ new
@@ -1,8 +1,9 @@
module Bearcat
class Client < Footrest::Client
module OutcomeGroups
+ extend ClientModule
def show_outcome_group(outcome_group_id, params={})
get("#{outcomes_context_slug(params)}#{outcome_group_id}")
end
@@ -59,23 +60,20 @@
end
end
end
private
+
def account_slug(account_id)
"accounts/#{account_id}/outcome_groups/"
end
-
- private
def course_slug(course_id)
"courses/#{course_id}/outcome_groups/"
end
- private
def global_slug
"global/outcome_groups/"
end
-
end
end
end
\ No newline at end of file