lib/eco/api/session.rb in eco-helpers-1.0.11 vs lib/eco/api/session.rb in eco-helpers-1.0.12
- old
+ new
@@ -40,10 +40,10 @@
end
def mail_to(**kargs)
mail.mail(**kargs)
end
-
+
def s3upload(content: nil, file: nil, directory: nil)
if content && file
s3uploader.upload(file, content)
elsif file
s3uploader.upload_file(file)