Class: Pageflow::InvitedUser

Inherits:
User
  • Object
show all
Defined in:
app/models/pageflow/invited_user.rb

Overview

Specialized User class containing invitation logic used by in the users admin.

Instance Method Summary collapse

Instance Method Details

#send_invitation!Object


8
9
10
11
# File 'app/models/pageflow/invited_user.rb', line 8

def send_invitation!
  generate_reset_password_token! if should_generate_reset_token?
  send_invitation
end