Method: Backup::Notifier::Ses#initialize
- Defined in:
- lib/backup/notifier/ses.rb
#initialize(model, &block) ⇒ Ses
Returns a new instance of Ses.
36 37 38 39 40 41 42 |
# File 'lib/backup/notifier/ses.rb', line 36 def initialize(model, &block) super instance_eval(&block) if block_given? @region ||= 'eu-west-1' @send_log_on ||= [:warning, :failure] end |