sms_carrier:SMS运营商是用于设计SMS服务层的框架

时间:2021-04-29 15:20:53
【文件属性】:
文件名称:sms_carrier:SMS运营商是用于设计SMS服务层的框架
文件大小:43KB
文件格式:ZIP
更新时间:2021-04-29 15:20:53
Ruby 短信运营商 SMS运营商是用于设计SMS服务层的框架。 这是从Action Mailer of Rails框架修改而来的,因此大多数用法与Action Mailer一样。 安装 将此行添加到应用程序的Gemfile中: gem 'sms_carrier' 然后执行: bundle 或将其自己安装为: gem install sms_carrier 用法 发送短信 您可以使用运营商和模板发送SMS。 class RegistrationCarrier < SmsCarrier :: Base default from : '+886987654321' def welcome ( recipient , token ) @token = token sms ( to : recipient ) end end 在您看来,例如。 app/views/r
【文件预览】:
sms_carrier-master
----.gitignore(87B)
----README.md(4KB)
----CHANGELOG.md(142B)
----test()
--------delivery_methods_test.rb(7KB)
--------url_test.rb(3KB)
--------test_helper_test.rb(3KB)
--------carriers()
--------sms_layout_test.rb(1KB)
--------fixtures()
--------test_carrier_test.rb(313B)
--------asset_host_test.rb(915B)
--------message_delivery_test.rb(3KB)
--------base_test.rb(13KB)
--------abstract_unit.rb(2KB)
--------test_case_test.rb(934B)
--------sms_test.rb(183B)
--------log_subscriber_test.rb(961B)
--------i18n_with_controller_test.rb(1KB)
----Gemfile(167B)
----.rspec(30B)
----sms_carrier.gemspec(1KB)
----LICENSE.txt(1KB)
----.travis.yml(118B)
----lib()
--------generators()
--------sms_carrier.rb(576B)
--------rails()
--------sms_carrier()
----Rakefile(463B)

网友评论