Sha256: f7cc913a32168ad58f83ae04b8f496b664d70810b64ac36737fabbf90bfcd238

Contents?: true

Size: 361 Bytes

Versions: 12

Compression:

Stored size: 361 Bytes

Contents

module DeviseInvitable
  module Mailer
    
    # Deliver an invitation email
    def invitation_instructions(record)
      setup_mail(record, :invitation_instructions)
    end
    
    def invitation(record)
      ActiveSupport::Deprecation.warn('invitation has been renamed to invitation_instructions')
      invitation_instructions(record)
    end
  end
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
devise_invitable-0.5.1 lib/devise_invitable/mailer.rb
devise_invitable-0.5.0 lib/devise_invitable/mailer.rb
devise_invitable-0.4.2 lib/devise_invitable/mailer.rb
devise_invitable-0.4.1 lib/devise_invitable/mailer.rb
devise_invitable-0.4.0 lib/devise_invitable/mailer.rb
devise_invitable-0.4.rc5 lib/devise_invitable/mailer.rb
devise_invitable-0.4.rc4 lib/devise_invitable/mailer.rb
devise_invitable-0.4.rc3 lib/devise_invitable/mailer.rb
devise_invitable-0.4.rc2 lib/devise_invitable/mailer.rb
devise_invitable-0.4.rc lib/devise_invitable/mailer.rb
dougjohnston-devise_invitable-0.4.rc lib/devise_invitable/mailer.rb
aihs_devise_invitable-0.4.rc lib/devise_invitable/mailer.rb