Class: C2eCore::Drops::UserDrop

Inherits:
BaseDrop
  • Object
show all
Defined in:
/build/app/mailers/c2e_core/drops/user_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(user) ⇒ UserDrop

Returns a new instance of UserDrop.

Instance Method Details

#admin_app_urlString

Returns - Link to create or change administrator password for user.

Returns:

  • (String)
    • Link to create or change administrator password for user.

#credits_expiring_soonC2eCore::Drops::CreditsExpiringSoonDrop?

Returns - First credits that are expiring soon as drop object or nil if none present.

Returns:

#first_nameString

Returns - First name of user.

Returns:

  • (String)
    • First name of user.

#full_nameString

Returns - Concatenation of first and last name of user.

Returns:

  • (String)
    • Concatenation of first and last name of user.

#last_nameString

Returns - Last name of user.

Returns:

  • (String)
    • Last name of user.

#loginString

Returns - Login of user.

Returns:

  • (String)
    • Login of user.

#user_nameString

Returns - Login of user.

Returns:

  • (String)
    • Login of user.