Class: SallieMaeGateway::Student

Inherits:
Object
  • Object
show all
Defined in:
app/models/sallie_mae_gateway/student.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#accountObject

Returns the value of attribute account.



3
4
5
# File 'app/models/sallie_mae_gateway/student.rb', line 3

def 
  @account
end

#emailObject

Returns the value of attribute email.



3
4
5
# File 'app/models/sallie_mae_gateway/student.rb', line 3

def email
  @email
end

#first_nameObject

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_nameObject

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