Module: Devise::Referable::Referral::InstanceMethods
- Defined in:
- lib/devise_referable/referral.rb
Instance Method Summary collapse
Instance Method Details
#generate_token ⇒ Object
12 13 14 |
# File 'lib/devise_referable/referral.rb', line 12 def generate_token self.referral_token ||= Devise.friendly_token end |