Class: Clever::Models::Student

Inherits:
Object
  • Object
show all
Defined in:
lib/clever/models/student.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ Student

Returns a new instance of Student.



4
5
6
# File 'lib/clever/models/student.rb', line 4

def initialize params
  params.each { |k,v| instance_variable_set("@#{k}", v) unless v.nil? }
end

Instance Attribute Details

#district_idObject

Returns the value of attribute district_id.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def district_id
  @district_id
end

#dobObject

Returns the value of attribute dob.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def dob
  @dob
end

#frl_statusObject

Returns the value of attribute frl_status.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def frl_status
  @frl_status
end

#genderObject

Returns the value of attribute gender.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def gender
  @gender
end

#gradeObject

Returns the value of attribute grade.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def grade
  @grade
end

#hispanic_ethnicityObject

Returns the value of attribute hispanic_ethnicity.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def hispanic_ethnicity
  @hispanic_ethnicity
end

#idObject

Returns the value of attribute id.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def id
  @id
end

#last_modifiedObject

Returns the value of attribute last_modified.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def last_modified
  @last_modified
end

#locationObject

Returns the value of attribute location.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def location
  @location
end

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def name
  @name
end

#raceObject

Returns the value of attribute race.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def race
  @race
end

#school_idObject

Returns the value of attribute school_id.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def school_id
  @school_id
end

#sis_idObject

Returns the value of attribute sis_id.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def sis_id
  @sis_id
end

#state_idObject

Returns the value of attribute state_id.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def state_id
  @state_id
end

#student_numberObject

Returns the value of attribute student_number.



2
3
4
# File 'lib/clever/models/student.rb', line 2

def student_number
  @student_number
end