class App42::User::Profile

Attributes

city[RW]
country[RW]
dateOfBirth[RW]
firstName[RW]
homeLandLine[RW]
lastName[RW]
line1[RW]
line2[RW]
mobile[RW]
officeLandLine[RW]
pincode[RW]
sex[RW]
state[RW]

Public Class Methods

new(user) click to toggle source

This is a constructor that takes no parameter

# File lib/user/User.rb, line 96
def initialize(user)
  user.profile = (self)
end