ppl:PPL MyApi的包装

时间:2021-03-02 01:55:22
【文件属性】:
文件名称:ppl:PPL MyApi的包装
文件大小:21KB
文件格式:ZIP
更新时间:2021-03-02 01:55:22
Ruby PPL的MyApi Ruby宝石 与PPL的MyApi交互的宝石。 安装 将此行添加到您的应用程序的Gemfile中: gem 'ppl' 然后执行: $ bundle 或将其自己安装为: $ gem install ppl 配置 使用以下内容在config/initializers/ppl.rb创建一个初始化config/initializers/ppl.rb : Ppl . configure do | config | config . customer_id = "Your customer ID (only digits)" config . username = "Your API username" config . password = "Your API password" end 用法 检查API状态 client = Ppl :: Client
【文件预览】:
ppl-master
----.gitignore(113B)
----.rspec(53B)
----bin()
--------setup(131B)
--------console(299B)
----.travis.yml(107B)
----.ruby-version(6B)
----LICENSE.txt(1KB)
----spec()
--------spec_helper.rb(764B)
--------ppl_spec.rb(172B)
--------ppl()
----README.md(8KB)
----lib()
--------ppl.rb(1006B)
--------ppl()
----Gemfile(159B)
----Rakefile(117B)
----Gemfile.lock(2KB)
----ppl.gemspec(1KB)

网友评论