Module: DeviseInvitable::ParameterSanitizer

Defined in:
lib/devise_invitable/parameter_sanitizer.rb

Instance Method Summary collapse

Instance Method Details

#accept_invitationObject


8
9
10
# File 'lib/devise_invitable/parameter_sanitizer.rb', line 8

def accept_invitation
  permit self.for(:accept_invitation)
end

#inviteObject


4
5
6
# File 'lib/devise_invitable/parameter_sanitizer.rb', line 4

def invite
  permit self.for(:invite)
end