Skip to content

Commit 056e9ec

Browse files
committed
Merge pull request NARKOZ#29 from b0n3z/patch-1
Fixed Kumar's address and renamed variable
2 parents 58cbc7b + 7dc8039 commit 056e9ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kumar_asshole.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
if email.body[KEYWORDS_REGEX]
1717
# Restore DB and send a reply
1818
email.label('Database fixes')
19-
reply = reply_to(email.subject)
19+
reply = create_reply(email.subject)
2020
gmail.deliver(reply)
2121
end
2222
end
2323

24-
def reply_to(subject)
24+
def create_reply(subject)
2525
gmail.compose do
26-
to "email@example.com"
26+
to "kumar.a@example.com"
2727
subject "RE: #{subject}"
2828
body "No problem. I've fixed it. \n\n Please be careful next time."
2929
end

0 commit comments

Comments
 (0)