Class: Bearcat::Client

Inherits:
Footrest::Client
  • Object
show all
Includes:
Assignments, Conferences, Courses, Enrollments, Groups, OAuth2, OutcomeGroups, Outcomes, Reports, Sections, Users
Defined in:
lib/bearcat/client.rb,
lib/bearcat/client/users.rb,
lib/bearcat/client/groups.rb,
lib/bearcat/client/courses.rb,
lib/bearcat/client/o_auth2.rb,
lib/bearcat/client/reports.rb,
lib/bearcat/client/outcomes.rb,
lib/bearcat/client/sections.rb,
lib/bearcat/client/assignments.rb,
lib/bearcat/client/conferences.rb,
lib/bearcat/client/enrollments.rb,
lib/bearcat/client/outcome_groups.rb

Defined Under Namespace

Modules: Assignments, Conferences, Courses, Enrollments, Groups, OAuth2, OutcomeGroups, Outcomes, Reports, Sections, Users

Instance Method Summary collapse

Methods included from Reports

#delete_report, #report_history, #report_list, #report_status, #start_report

Methods included from Users

#list_users, #user_avatars

Methods included from Conferences

#course_conferences, #group_conferences

Methods included from Groups

#course_groups

Methods included from OAuth2

#auth_redirect_url, #retrieve_token

Methods included from Sections

#course_sections, #create_section, #delete_section, #section, #update_section

Methods included from Outcomes

#show_outcome, #update_outcome

Methods included from OutcomeGroups

#create_outcome_in_group, #create_subgroup, #delete_outcome_group, #import_outcome_group, #link_outcome, #list_linked_outcomes, #list_subgroups, #outcomes_context_slug, #show_outcome_group, #unlink_outcome, #update_outcome_group

Methods included from Enrollments

#conclude_enrollment, #course_enrollments, #enroll_in_section, #section_enrollments, #user_enrollments

Methods included from Courses

#course, #create_course, #list_course_users

Methods included from Assignments

#assignments, #create_assignment, #create_assignment_override

Instance Method Details

#request(method, &block) ⇒ Object

Override Footrest request for ApiArray support



32
33
34
# File 'lib/bearcat/client.rb', line 32

def request(method, &block)
  ApiArray::process_response(connection.send(method, &block), self)
end