Module: Clever

Defined in:
lib/clever-ruby/version.rb,
lib/clever-ruby.rb,
lib/clever-ruby/api_error.rb,
lib/clever-ruby/api_client.rb,
lib/clever-ruby/models/name.rb,
lib/clever-ruby/models/term.rb,
lib/clever-ruby/api/data_api.rb,
lib/clever-ruby/models/event.rb,
lib/clever-ruby/configuration.rb,
lib/clever-ruby/models/course.rb,
lib/clever-ruby/models/school.rb,
lib/clever-ruby/api/events_api.rb,
lib/clever-ruby/models/contact.rb,
lib/clever-ruby/models/section.rb,
lib/clever-ruby/models/student.rb,
lib/clever-ruby/models/teacher.rb,
lib/clever-ruby/models/district.rb,
lib/clever-ruby/models/location.rb,
lib/clever-ruby/models/not_found.rb,
lib/clever-ruby/models/principal.rb,
lib/clever-ruby/models/bad_request.rb,
lib/clever-ruby/models/credentials.rb,
lib/clever-ruby/models/term_object.rb,
lib/clever-ruby/models/school_admin.rb,
lib/clever-ruby/models/course_object.rb,
lib/clever-ruby/models/school_object.rb,
lib/clever-ruby/models/term_response.rb,
lib/clever-ruby/models/terms_created.rb,
lib/clever-ruby/models/terms_deleted.rb,
lib/clever-ruby/models/terms_updated.rb,
lib/clever-ruby/models/contact_object.rb,
lib/clever-ruby/models/district_admin.rb,
lib/clever-ruby/models/event_response.rb,
lib/clever-ruby/models/internal_error.rb,
lib/clever-ruby/models/section_object.rb,
lib/clever-ruby/models/student_object.rb,
lib/clever-ruby/models/teacher_object.rb,
lib/clever-ruby/models/terms_response.rb,
lib/clever-ruby/models/course_response.rb,
lib/clever-ruby/models/courses_created.rb,
lib/clever-ruby/models/courses_deleted.rb,
lib/clever-ruby/models/courses_updated.rb,
lib/clever-ruby/models/district_object.rb,
lib/clever-ruby/models/events_response.rb,
lib/clever-ruby/models/school_response.rb,
lib/clever-ruby/models/schools_created.rb,
lib/clever-ruby/models/schools_deleted.rb,
lib/clever-ruby/models/schools_updated.rb,
lib/clever-ruby/models/contact_response.rb,
lib/clever-ruby/models/contacts_created.rb,
lib/clever-ruby/models/contacts_deleted.rb,
lib/clever-ruby/models/contacts_updated.rb,
lib/clever-ruby/models/courses_response.rb,
lib/clever-ruby/models/schools_response.rb,
lib/clever-ruby/models/section_response.rb,
lib/clever-ruby/models/sections_created.rb,
lib/clever-ruby/models/sections_deleted.rb,
lib/clever-ruby/models/sections_updated.rb,
lib/clever-ruby/models/student_response.rb,
lib/clever-ruby/models/students_created.rb,
lib/clever-ruby/models/students_deleted.rb,
lib/clever-ruby/models/students_updated.rb,
lib/clever-ruby/models/teacher_response.rb,
lib/clever-ruby/models/teachers_created.rb,
lib/clever-ruby/models/teachers_deleted.rb,
lib/clever-ruby/models/teachers_updated.rb,
lib/clever-ruby/models/contacts_response.rb,
lib/clever-ruby/models/district_response.rb,
lib/clever-ruby/models/districts_created.rb,
lib/clever-ruby/models/districts_deleted.rb,
lib/clever-ruby/models/districts_updated.rb,
lib/clever-ruby/models/sections_response.rb,
lib/clever-ruby/models/students_response.rb,
lib/clever-ruby/models/teachers_response.rb,
lib/clever-ruby/models/districts_response.rb,
lib/clever-ruby/models/school_admin_object.rb,
lib/clever-ruby/models/schooladmins_created.rb,
lib/clever-ruby/models/schooladmins_deleted.rb,
lib/clever-ruby/models/schooladmins_updated.rb,
lib/clever-ruby/models/district_admin_object.rb,
lib/clever-ruby/models/school_admin_response.rb,
lib/clever-ruby/models/districtadmins_created.rb,
lib/clever-ruby/models/districtadmins_deleted.rb,
lib/clever-ruby/models/districtadmins_updated.rb,
lib/clever-ruby/models/school_admins_response.rb,
lib/clever-ruby/models/district_admin_response.rb,
lib/clever-ruby/models/district_admins_response.rb

Overview

#Clever API

#The Clever API

OpenAPI spec version: 2.0.0

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.3.0-SNAPSHOT

Defined Under Namespace

Classes: ApiClient, ApiError, BadRequest, Configuration, Contact, ContactObject, ContactResponse, ContactsCreated, ContactsDeleted, ContactsResponse, ContactsUpdated, Course, CourseObject, CourseResponse, CoursesCreated, CoursesDeleted, CoursesResponse, CoursesUpdated, Credentials, DataApi, District, DistrictAdmin, DistrictAdminObject, DistrictAdminResponse, DistrictAdminsResponse, DistrictObject, DistrictResponse, DistrictadminsCreated, DistrictadminsDeleted, DistrictadminsUpdated, DistrictsCreated, DistrictsDeleted, DistrictsResponse, DistrictsUpdated, Event, EventResponse, EventsApi, EventsResponse, InternalError, Location, Name, NotFound, Principal, School, SchoolAdmin, SchoolAdminObject, SchoolAdminResponse, SchoolAdminsResponse, SchoolObject, SchoolResponse, SchooladminsCreated, SchooladminsDeleted, SchooladminsUpdated, SchoolsCreated, SchoolsDeleted, SchoolsResponse, SchoolsUpdated, Section, SectionObject, SectionResponse, SectionsCreated, SectionsDeleted, SectionsResponse, SectionsUpdated, Student, StudentObject, StudentResponse, StudentsCreated, StudentsDeleted, StudentsResponse, StudentsUpdated, Teacher, TeacherObject, TeacherResponse, TeachersCreated, TeachersDeleted, TeachersResponse, TeachersUpdated, Term, TermObject, TermResponse, TermsCreated, TermsDeleted, TermsResponse, TermsUpdated

Constant Summary collapse

VERSION =
"2.0.2"

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Clever.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



113
114
115
116
117
118
119
# File 'lib/clever-ruby.rb', line 113

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end