Sha256: 51796e2728b229e346f01c94b926258bf7cf5e49c64ec40e20ac8c7fd1a31616

Contents?: true

Size: 687 Bytes

Versions: 2

Compression:

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

module Bearcat
  class Client < Footrest::Client

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


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