Module: EC2Launcher::DSL::EmailNotifications
- Included in:
- Application, Environment
- Defined in:
- lib/ec2launcher/dsl/email_notification.rb
Instance Attribute Summary collapse
-
#email_notifications ⇒ Object
readonly
Returns the value of attribute email_notifications.
Instance Method Summary collapse
Instance Attribute Details
#email_notifications ⇒ Object (readonly)
Returns the value of attribute email_notifications.
10 11 12 |
# File 'lib/ec2launcher/dsl/email_notification.rb', line 10 def email_notifications @email_notifications end |
Instance Method Details
#email_notification(&block) ⇒ Object
12 13 14 15 16 |
# File 'lib/ec2launcher/dsl/email_notification.rb', line 12 def email_notification(&block) notifications = EC2Launcher::DSL::EmailNotification.new notifications.instance_exec(&block) @email_notifications = notifications end |