Module: AeriesApi::Client::StudentGroups

Included in:
AeriesApi::Client
Defined in:
lib/aeries-api/client/student_groups.rb

Instance Method Summary collapse

Instance Method Details

#student_groups(school_code:) ⇒ Object



4
5
6
7
8
# File 'lib/aeries-api/client/student_groups.rb', line 4

def student_groups(school_code:)
  response = self.class.get("/schools/#{school_code}/studentgroups")
  @error_handler.handle_error(response)
  mash_and_underscore_keys(response.parsed_response)
end