lib/cap_gun.rb
# Grab the options for emailing from cap_gun_email_envelope (should be set in your deploy file)
#
# Valid options:
#     :recipients     (required) an array or string of email address(es) that should get notifications
#     :from           the sender of the notification, defaults to cap_gun@example.com
#     :email_prefix   subject prefix, defaults to [DEPLOY]
Grab the options for emailing from cap_gun_email_envelope (should be set in your deploy file)
Valid options:
:recipients     (required) an array or string of email address(es) that should get notifications
:from           the sender of the notification, defaults to cap_gun@example.com
:email_prefix   subject prefix, defaults to [DEPLOY]
Grab the options for emailing from cap_gun_email_envelope ( should be set in your deploy file ) Valid options : : recipients ( required ) an array or string of email address ( es ) that should get notifications : from the sender of the notification defaults to cap_gun@example . com : email_prefix subject prefix defaults to [ DEPLOY ]
def init(envelope = {})
        recipients envelope[:recipients]
        from (envelope[:from] || DEFAULT_SENDER)
        email_prefix (envelope[:email_prefix] || DEFAULT_EMAIL_PREFIX)
      end
def init ( envelope = { } ) recipients envelope [ :recipients ] from ( envelope [ :from ] || DEFAULT_SENDER ) email_prefix ( envelope [ :email_prefix ] || DEFAULT_EMAIL_PREFIX ) end
Grab the options for emailing from cap_gun_email_envelope (should be set in your deploy file)
Valid options:
:recipients     (required) an array or string of email address(es) that should get notifications
:from           the sender of the notification, defaults to cap_gun@example.com
:email_prefix   subject prefix, defaults to [DEPLOY]
Grab the options for emailing from cap_gun_email_envelope ( should be set in your deploy file ) Valid options : : recipients ( required ) an array or string of email address ( es ) that should get notifications : from the sender of the notification defaults to cap_gun@example . com : email_prefix subject prefix defaults to [ DEPLOY ]
envelope
<not_specific>