patch-ruby:补丁的Ruby客户端库-https

时间:2021-03-31 04:24:40
【文件属性】:
文件名称:patch-ruby:补丁的Ruby客户端库-https
文件大小:116KB
文件格式:ZIP
更新时间:2021-03-31 04:24:40
ruby climate patch carbon carbon-emissions 补丁Ruby SDK 的官方Ruby宝石 文献资料 有关完整的API参考,请查看 安装 将宝石添加到您的Gemfile中: gem 'patch_ruby' 然后运行: bundle 或直接使用安装 gem install patch_ruby 要求 Ruby 1.9以上 用法 配置 安装gem之后,您必须使用您的API密钥对其进行配置,该API密钥可从“补丁”仪表板中的“ API密钥”页面获得: require 'patch_ruby' Patch . configure do | config | # Configure the Patch gem with your API key here config . access_token = ENV [ 'SANDBOX_API_KEY' ] end 订单 在补丁程序中,订单表示购买的碳抵消量或质量的负排放量。 如果
【文件预览】:
patch-ruby-main
----.github()
--------PULL_REQUEST_TEMPLATE.md(461B)
--------workflows()
----lib()
--------patch_ruby()
--------patch_ruby.rb(2KB)
----Gemfile(154B)
----spec()
--------integration()
--------configuration_spec.rb(1KB)
--------api_client_spec.rb(7KB)
--------models()
--------patch_ruby_spec.rb(559B)
--------spec_helper.rb(5KB)
--------constants.rb(93B)
--------api()
--------factories()
--------support()
----Rakefile(170B)
----README.md(7KB)
----.rubocop.yml(3KB)
----Makefile(104B)
----patch_ruby.gemspec(1KB)
----.rspec(30B)
----Gemfile.lock(2KB)
----.gitignore(804B)
----CHANGELOG.md(3KB)

网友评论