Sha256: 27d0a0b357de47707986ef756b714f9949b5425e7998b9b2a29c728afac22cdf

Contents?: true

Size: 797 Bytes

Versions: 2

Compression:

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

module Bearcat
  class Client < Footrest::Client

    include Assignments
    include Courses
    include Enrollments
    include OutcomeGroups
    include Outcomes
    include Sections
    include OAuth2
    include Groups
    include Conferences


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