AR
Size: a a a
AR
AD
AR
AR
AR
AD
AG
AG
AG
AR
IN
IN
AR
AR
def perform(type, options)
if type == :sms
RL.info("send sms to slack channel: #{options[:text]}")
send_to_slack(options[:text])
elsif type == :email
RL.info("send email to slack channel: #{options[:email]}, subject: #{options[:subject]}, body: #{options[:body]}")
send_to_slack(options[:email], "subject: #{options[:subject]}\nbody: #{options[:body]}")
end
end
AR
AR
AR
IN
VD
AG