【文件属性】:
文件名称:active_fulfillment:Active Merchant库,用于与订单履行服务集成
文件大小:61KB
文件格式:ZIP
更新时间:2021-04-30 03:43:54
ruby Ruby
主动履行
与订单履行服务集成的库。
安装
添加到您的gem文件,然后运行bundle install 。
gem 'active_fulfillment'
用法
# The authentication options differ per service.
service = ActiveFulfillment.service('name').new(login: 'abc', password: 'def')
# To fulfill an order:
service.fulfill(order_id, shipping_address, line_items, options = {})
# To find out how much stock is left
service.fetch_stock_levels(options = {})
# To obtain tracki
【文件预览】:
active_fulfillment-master
----.gitignore(37B)
----README.md(987B)
----.rubocop.yml(175B)
----gemfiles()
--------activesupport_master.gemfile(94B)
--------activesupport50.gemfile(114B)
--------activesupport51.gemfile(83B)
--------activesupport52.gemfile(83B)
--------activesupport42_nokogiri_17.gemfile(108B)
--------activesupport42.gemfile(109B)
----CHANGELOG.md(4KB)
----dev.yml(296B)
----.github()
--------probots.yml(17B)
----test()
--------fixtures()
--------unit()
--------fixtures.yml(149B)
--------remote()
--------test_helper.rb(1KB)
----Gemfile(39B)
----active_fulfillment.gemspec(1KB)
----CONTRIBUTING.md(2KB)
----shipit.rubygems.yml(34B)
----service.yml(34B)
----LICENSE.txt(1KB)
----.travis.yml(695B)
----lib()
--------active_fulfillment.rb(2KB)
--------active_fulfillment()
----Rakefile(379B)