Method: Backup::Notifier::Ses#initialize
- Defined in:
- lib/backup/notifier/ses.rb
#initialize(model, &block) ⇒ Ses
Returns a new instance of Ses.
24 25 26 27 28 29 30 |
# File 'lib/backup/notifier/ses.rb', line 24 def initialize(model, &block) super instance_eval(&block) if block_given? @region ||= 'eu-west-1' @send_log_on ||= [:warning, :failure] end |