Class: Warden::GoogleApps::User

Inherits:
Struct
  • Object
show all
Defined in:
lib/warden-googleapps/user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



3
4
5
# File 'lib/warden-googleapps/user.rb', line 3

def email
  @email
end

#first_nameObject

Returns the value of attribute first_name

Returns:

  • (Object)

    the current value of first_name



3
4
5
# File 'lib/warden-googleapps/user.rb', line 3

def first_name
  @first_name
end

#identity_urlObject

Returns the value of attribute identity_url

Returns:

  • (Object)

    the current value of identity_url



3
4
5
# File 'lib/warden-googleapps/user.rb', line 3

def identity_url
  @identity_url
end

#last_nameObject

Returns the value of attribute last_name

Returns:

  • (Object)

    the current value of last_name



3
4
5
# File 'lib/warden-googleapps/user.rb', line 3

def last_name
  @last_name
end

Instance Method Details

#full_nameObject



4
5
6
# File 'lib/warden-googleapps/user.rb', line 4

def full_name
"#{first_name} #{last_name}"
end