Class: App42::User::Profile
- Inherits:
-
Object
- Object
- App42::User::Profile
- Defined in:
- lib/user/User.rb
Instance Attribute Summary collapse
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#dateOfBirth ⇒ Object
Returns the value of attribute dateOfBirth.
-
#firstName ⇒ Object
Returns the value of attribute firstName.
-
#homeLandLine ⇒ Object
Returns the value of attribute homeLandLine.
-
#lastName ⇒ Object
Returns the value of attribute lastName.
-
#line1 ⇒ Object
Returns the value of attribute line1.
-
#line2 ⇒ Object
Returns the value of attribute line2.
-
#mobile ⇒ Object
Returns the value of attribute mobile.
-
#officeLandLine ⇒ Object
Returns the value of attribute officeLandLine.
-
#pincode ⇒ Object
Returns the value of attribute pincode.
-
#sex ⇒ Object
Returns the value of attribute sex.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(user) ⇒ Profile
constructor
This is a constructor that takes no parameter.
Constructor Details
#initialize(user) ⇒ Profile
This is a constructor that takes no parameter
96 97 98 |
# File 'lib/user/User.rb', line 96 def initialize(user) user.profile = (self) end |
Instance Attribute Details
#city ⇒ Object
Returns the value of attribute city.
79 80 81 |
# File 'lib/user/User.rb', line 79 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
79 80 81 |
# File 'lib/user/User.rb', line 79 def country @country end |
#dateOfBirth ⇒ Object
Returns the value of attribute dateOfBirth.
79 80 81 |
# File 'lib/user/User.rb', line 79 def dateOfBirth @dateOfBirth end |
#firstName ⇒ Object
Returns the value of attribute firstName.
79 80 81 |
# File 'lib/user/User.rb', line 79 def firstName @firstName end |
#homeLandLine ⇒ Object
Returns the value of attribute homeLandLine.
79 80 81 |
# File 'lib/user/User.rb', line 79 def homeLandLine @homeLandLine end |
#lastName ⇒ Object
Returns the value of attribute lastName.
79 80 81 |
# File 'lib/user/User.rb', line 79 def lastName @lastName end |
#line1 ⇒ Object
Returns the value of attribute line1.
79 80 81 |
# File 'lib/user/User.rb', line 79 def line1 @line1 end |
#line2 ⇒ Object
Returns the value of attribute line2.
79 80 81 |
# File 'lib/user/User.rb', line 79 def line2 @line2 end |
#mobile ⇒ Object
Returns the value of attribute mobile.
79 80 81 |
# File 'lib/user/User.rb', line 79 def mobile @mobile end |
#officeLandLine ⇒ Object
Returns the value of attribute officeLandLine.
79 80 81 |
# File 'lib/user/User.rb', line 79 def officeLandLine @officeLandLine end |
#pincode ⇒ Object
Returns the value of attribute pincode.
79 80 81 |
# File 'lib/user/User.rb', line 79 def pincode @pincode end |
#sex ⇒ Object
Returns the value of attribute sex.
79 80 81 |
# File 'lib/user/User.rb', line 79 def sex @sex end |
#state ⇒ Object
Returns the value of attribute state.
79 80 81 |
# File 'lib/user/User.rb', line 79 def state @state end |