class Academical::Client

Public Class Methods

new(auth = {}, options = {}) click to toggle source
# File lib/academical/client.rb, line 12
def initialize(auth = {}, options = {})
  @http_client = Academical::HttpClient::HttpClient.new(auth, options)
end

Public Instance Methods

schools() click to toggle source

All schools that are using Academical

# File lib/academical/client.rb, line 17
def schools()
  Academical::Api::Schools.new(@http_client)
end
sections() click to toggle source

Represents the section of a course in a school

# File lib/academical/client.rb, line 22
def sections()
  Academical::Api::Sections.new(@http_client)
end
teachers() click to toggle source

A teacher in a school.

# File lib/academical/client.rb, line 27
def teachers()
  Academical::Api::Teachers.new(@http_client)
end