Sha256: 5e1a7040224ee7b4be2f15ed82ba2a3af1e00a9b657f72dc975846902477c87b
Contents?: true
Size: 482 Bytes
Versions: 5
Compression:
Stored size: 482 Bytes
Contents
require 'devise/version' module DeviseInvitable module Mailer # Deliver an invitation email def invitation_instructions(record, opts={}) # optional arguments introduced in Devise 2.2.0, remove check once support for < 2.2.0 is dropped. if Gem::Version.new(Devise::VERSION.dup) < Gem::Version.new('2.2.0') devise_mail(record, :invitation_instructions) else devise_mail(record, :invitation_instructions, opts) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems