Sha256: a49d21e2c83f819e7ad070e704849224e1511ca11fff8c421c4dd4679d9741a7

Contents?: true

Size: 1.54 KB

Versions: 7

Compression:

Stored size: 1.54 KB

Contents

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/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'

    include Assignments
    include Accounts
    include Courses
    include Enrollments
    include OutcomeGroups
    include Outcomes
    include Sections
    include OAuth2
    include Groups
    include Conferences
    include Users
    include Reports
    include Submissions
    include Conversations
    include Modules
    include CanvasFiles
    include CalendarEvents
    include Discussions
    include FileHelper
    include Search
    include Quizzes


    # Override Footrest request for ApiArray support
    def request(method, &block)
      ApiArray::process_response(connection.send(method, &block), self)
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bearcat-1.0.9 lib/bearcat/client.rb
bearcat-1.0.8 lib/bearcat/client.rb
bearcat-1.0.7 lib/bearcat/client.rb
bearcat-1.0.6 lib/bearcat/client.rb
bearcat-1.0.5 lib/bearcat/client.rb
bearcat-1.0.4 lib/bearcat/client.rb
bearcat-1.0.2 lib/bearcat/client.rb