Class: App42::User::Profile

Inherits:
Object
  • Object
show all
Defined in:
lib/user/User.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#cityObject

Returns the value of attribute city.



79
80
81
# File 'lib/user/User.rb', line 79

def city
  @city
end

#countryObject

Returns the value of attribute country.



79
80
81
# File 'lib/user/User.rb', line 79

def country
  @country
end

#dateOfBirthObject

Returns the value of attribute dateOfBirth.



79
80
81
# File 'lib/user/User.rb', line 79

def dateOfBirth
  @dateOfBirth
end

#firstNameObject

Returns the value of attribute firstName.



79
80
81
# File 'lib/user/User.rb', line 79

def firstName
  @firstName
end

#homeLandLineObject

Returns the value of attribute homeLandLine.



79
80
81
# File 'lib/user/User.rb', line 79

def homeLandLine
  @homeLandLine
end

#lastNameObject

Returns the value of attribute lastName.



79
80
81
# File 'lib/user/User.rb', line 79

def lastName
  @lastName
end

#line1Object

Returns the value of attribute line1.



79
80
81
# File 'lib/user/User.rb', line 79

def line1
  @line1
end

#line2Object

Returns the value of attribute line2.



79
80
81
# File 'lib/user/User.rb', line 79

def line2
  @line2
end

#mobileObject

Returns the value of attribute mobile.



79
80
81
# File 'lib/user/User.rb', line 79

def mobile
  @mobile
end

#officeLandLineObject

Returns the value of attribute officeLandLine.



79
80
81
# File 'lib/user/User.rb', line 79

def officeLandLine
  @officeLandLine
end

#pincodeObject

Returns the value of attribute pincode.



79
80
81
# File 'lib/user/User.rb', line 79

def pincode
  @pincode
end

#sexObject

Returns the value of attribute sex.



79
80
81
# File 'lib/user/User.rb', line 79

def sex
  @sex
end

#stateObject

Returns the value of attribute state.



79
80
81
# File 'lib/user/User.rb', line 79

def state
  @state
end