require 'footrest/client' module Bearcat class Client < Footrest::Client require 'bearcat/api_array' require 'bearcat/client/file_helper' require 'bearcat/client/assignments' require 'bearcat/client/courses' require 'bearcat/client/enrollments' require 'bearcat/client/outcome_groups' require 'bearcat/client/outcomes' require 'bearcat/client/sections' require 'bearcat/client/o_auth2' require 'bearcat/client/groups' require 'bearcat/client/group_categories' require 'bearcat/client/group_memberships' require 'bearcat/client/conferences' require 'bearcat/client/users' require 'bearcat/client/reports' require 'bearcat/client/accounts' require 'bearcat/client/submissions' require 'bearcat/client/conversations' require 'bearcat/client/modules' require 'bearcat/client/canvas_files' require 'bearcat/client/calendar_events' require 'bearcat/client/discussions' require 'bearcat/client/search' require 'bearcat/client/quizzes' require 'bearcat/client/assignment_groups' require 'bearcat/client/pages' require 'bearcat/client/files' require 'bearcat/client/folders' require 'bearcat/client/analytics' require 'bearcat/client/module_items' include Assignments include Accounts include Analytics include Courses include Enrollments include OutcomeGroups include Outcomes include Sections include OAuth2 include Groups include GroupCategories include GroupMemberships include Conferences include Users include Reports include Submissions include Conversations include Modules include CanvasFiles include CalendarEvents include Discussions include FileHelper include Search include Quizzes include AssignmentGroups include Pages include Files include Folders include ModuleItems # Override Footrest request for ApiArray support def request(method, &block) ApiArray::process_response(connection.send(method, &block), self) end end end