response = RestClient.post "http://api.sendcloud.net/apiv2/mail/send", :attachments => File.new('all.sql','rb'),:apiUser => 'metalist',:apiKey => 'key',:from => "[email protected]",:fromName => "noname",:to => "[email protected]",:subject => "users assets",:html => 'users assets: attachments'
Last active
August 30, 2020 05:57
-
-
Save googya/e52e4407536bb463a0ce9760e81ff885 to your computer and use it in GitHub Desktop.
code snippets
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ruby bin/console
非常方便调试一些代码