文件名称:xmpush:小米推送服务Ruby SDK
文件大小:8KB
文件格式:ZIP
更新时间:2024-07-17 05:35:22
Ruby
关于 Ruby SDK 安装 gem install xmpush 在 Gemfile 中: gem 'xmpush' 用法 @xm_service = Xmpush :: Service . config do | s | s . sandbox = true # default false s . ios_secret = "ios secret key" s . bundle_id = "com.xxx.ios" s . android_secret = 'android secret key' s . package_name = "com.xxx.android" s . connection_adapter = :net_http # default end # just iOS @message1 = @xm_service . build
【文件预览】:
xmpush-master
----.gitignore(195B)
----README.md(1KB)
----Gemfile(91B)
----xmpush.gemspec(939B)
----LICENSE.txt(1KB)
----lib()
--------xmpush.rb(3KB)
--------xmpush()
----Rakefile(28B)