【文件属性】:
文件名称:sendcloud:搜狐sendcloud api的ruby客户端
文件大小:9KB
文件格式:ZIP
更新时间:2021-04-27 12:52:34
Ruby
千云
搜狐SendCloud API的Ruby客户端
安装
将此行添加到应用程序的Gemfile中:
gem 'sendcloud'
然后执行:
$ bundle
或将其自己安装为:
$ gem install sendcloud
用法
配置
Sendcloud . setup do | config |
config . api_user = 'your api user'
config . api_key = 'your api key'
end
调用API
Sendcloud :: Mail . send ( to : 'test@example.com' , from : 'test@example.com' , subject : 'test' , html : 'test' )
贡献
叉它
创建功能分支( git checkout -b my-new-featu
【文件预览】:
sendcloud-master
----LICENSE.txt(1KB)
----lib()
--------sendcloud()
--------sendcloud.rb(1KB)
----Gemfile(146B)
----spec()
--------mail_list_spec.rb(1KB)
--------spec_helper.rb(175B)
--------mail_spec.rb(512B)
--------template_spec.rb(2KB)
--------stats_spec.rb(274B)
--------bounces_spec.rb(264B)
--------unsubscribes_spec.rb(461B)
----Rakefile(28B)
----README.md(741B)
----sendcloud.gemspec(963B)
----.rspec(25B)
----.gitignore(160B)