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
12
# File 'app/models/pageflow/invited_user.rb', line 8

def send_invitation!
  prepare_invitation
  save(validate: false)
  send_invitation
end