Sha256: 1c278a47b3e200164effd00fa9e0cd49c7a60cc87a2bcace315705eeb5fc055b

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

require 'footrest/client'
module Bearcat
  class Client < Footrest::Client
    require 'bearcat/api_array'
    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'

    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


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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bearcat-0.9.15 lib/bearcat/client.rb