Module: ActionMailer::Callbacks::Extensions

Defined in:
lib/actionmailer-callbacks/extensions.rb

Instance Method Summary collapse

Instance Method Details

#_conditions(opts) ⇒ Object



14
15
16
# File 'lib/actionmailer-callbacks/extensions.rb', line 14

def _conditions(opts)
  _condition(:if, opts[:only]) or _condition(:unless, opts[:except]) or {}
end