Sha256: 872d4a4b18b655d342d568252a93e458afa3ec6285d778ba3bd268b70c6eddf5

Contents?: true

Size: 846 Bytes

Versions: 1

Compression:

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

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


    # 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.8 lib/bearcat/client.rb