Sha256: 2aee246068e2312b5bec51b4027ae074da4c3629c4b5fc462179072b1b19f2fb

Contents?: true

Size: 899 Bytes

Versions: 2

Compression:

Stored size: 899 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'

module Bearcat
  class Client < Footrest::Client

    include Assignments
    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

2 entries across 2 versions & 1 rubygems

Version Path
bearcat-0.9.1 lib/bearcat/client.rb
bearcat-0.9 lib/bearcat/client.rb