class EpitechApi::Student

Attributes

closed[RW]
first_name[RW]
gpa[RW]
last_name[RW]
location[RW]
login[RW]
picture[RW]
time_active[RW]
time_needed[RW]

Public Class Methods

new(infos) click to toggle source
# File lib/epitech_api/DataTypes/student.rb, line 8
def initialize(infos)
  @login, @first_name, @last_name, @picture, @location, @time_active, @time_needed, @closed, @gpa =
      infos.values_at(:login, :first_name, :last_name, :picture, :location, :time_active, :time_needed, :closed, :gpa)
end