Class: EpitechApi::BasicStudent
- Inherits:
-
Object
- Object
- EpitechApi::BasicStudent
- Defined in:
- lib/epitech_api/DataTypes/basic_student.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#location ⇒ Object
Returns the value of attribute location.
-
#login ⇒ Object
Returns the value of attribute login.
-
#picture ⇒ Object
Returns the value of attribute picture.
Instance Method Summary collapse
-
#initialize(login, first_name, last_name, picture, location) ⇒ BasicStudent
constructor
A new instance of BasicStudent.
Constructor Details
#initialize(login, first_name, last_name, picture, location) ⇒ BasicStudent
Returns a new instance of BasicStudent.
6 7 8 9 10 11 12 |
# File 'lib/epitech_api/DataTypes/basic_student.rb', line 6 def initialize(login, first_name, last_name, picture, location) @login = login @first_name = first_name @last_name = last_name @picture = picture @location = location end |
Instance Attribute Details
#first_name ⇒ Object
Returns the value of attribute first_name.
4 5 6 |
# File 'lib/epitech_api/DataTypes/basic_student.rb', line 4 def first_name @first_name end |
#last_name ⇒ Object
Returns the value of attribute last_name.
4 5 6 |
# File 'lib/epitech_api/DataTypes/basic_student.rb', line 4 def last_name @last_name end |
#location ⇒ Object
Returns the value of attribute location.
4 5 6 |
# File 'lib/epitech_api/DataTypes/basic_student.rb', line 4 def location @location end |
#login ⇒ Object
Returns the value of attribute login.
4 5 6 |
# File 'lib/epitech_api/DataTypes/basic_student.rb', line 4 def login @login end |
#picture ⇒ Object
Returns the value of attribute picture.
4 5 6 |
# File 'lib/epitech_api/DataTypes/basic_student.rb', line 4 def picture @picture end |