Sha256: f90cb9bcbfc4e9a9d5073c14292f5bcc3f47d7168756ebdbb16fc7ca92a1bce4

Contents?: true

Size: 955 Bytes

Versions: 3

Compression:

Stored size: 955 Bytes

Contents

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

module Bearcat
  class Client < Footrest::Client

    include Assignments
    include Accounts
    include Courses
    include Enrollments
    include OutcomeGroups
    include Outcomes
    include Sections
    include OAuth2
    include Groups
    include Conferences
    include Users
    include Reports


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

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bearcat-0.9.4 lib/bearcat/client.rb
bearcat-0.9.3 lib/bearcat/client.rb
bearcat-0.9.2 lib/bearcat/client.rb