Sha256: 6937f9c5111432993051515e15aa612c22f67d928b973e023a5a3b0c2cd36e4a

Contents?: true

Size: 538 Bytes

Versions: 2

Compression:

Stored size: 538 Bytes

Contents

require 'gpt3/builder'

# Send an email to the user
#
# @param [String] use_ses - use AWS SES to send the email, if you are just testing, then set this value to false
def send_email(use_ses = nil)
  use_ses ||= true

  puts 'email sent successfully via Amazon Simple Email Service' if use_ses
end

KManager.action :test do
  action do

    # Send an email to the user
    send_email

    # Send an email to the user
    send_email(true)

    # This is a test, don't send the email
    send_email(false)
  end
end

KManager.opts.sleep = 2

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tailwind_dsl-0.0.32 .builders/generators/test.rb
tailwind_dsl-0.0.31 .builders/generators/test.rb