lib/messenger/email.rb in messenger-0.1.0 vs lib/messenger/email.rb in messenger-0.1.1
- old
+ new
@@ -21,10 +21,10 @@
to url.sub(/mailto:/, '')
subject options[:email_subject]
body message
end
mail.deliver!
- [true, nil]
+ Result.new(true, nil)
end
def self.obfuscate(url)
raise URLError, "The URL provided is invalid" unless valid_url?(url)
url