Class: SallieMaeGateway::Student
- Inherits:
-
Object
- Object
- SallieMaeGateway::Student
- Defined in:
- app/models/sallie_mae_gateway/student.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#email ⇒ Object
Returns the value of attribute email.
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
Instance Method Summary collapse
-
#initialize(args) ⇒ Student
constructor
A new instance of Student.
Constructor Details
#initialize(args) ⇒ Student
Returns a new instance of Student.
5 6 7 8 9 |
# File 'app/models/sallie_mae_gateway/student.rb', line 5 def initialize(args) args.each { |key, value| instance_variable_set "@#{key}", value } if args.is_a? Hash end |
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
3 4 5 |
# File 'app/models/sallie_mae_gateway/student.rb', line 3 def account @account end |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'app/models/sallie_mae_gateway/student.rb', line 3 def email @email end |
#first_name ⇒ Object
Returns the value of attribute first_name.
3 4 5 |
# File 'app/models/sallie_mae_gateway/student.rb', line 3 def first_name @first_name end |
#last_name ⇒ Object
Returns the value of attribute last_name.
3 4 5 |
# File 'app/models/sallie_mae_gateway/student.rb', line 3 def last_name @last_name end |