ANX 3d9b8349ef 修正ebaytoken辨識錯誤問題 | %!s(int64=6) %!d(string=hai) anos | |
---|---|---|
bin | %!s(int64=8) %!d(string=hai) anos | |
lib | %!s(int64=6) %!d(string=hai) anos | |
spec | %!s(int64=8) %!d(string=hai) anos | |
.gitignore | %!s(int64=8) %!d(string=hai) anos | |
.rspec | %!s(int64=8) %!d(string=hai) anos | |
.travis.yml | %!s(int64=8) %!d(string=hai) anos | |
Gemfile | %!s(int64=8) %!d(string=hai) anos | |
LICENSE.txt | %!s(int64=8) %!d(string=hai) anos | |
README.md | %!s(int64=8) %!d(string=hai) anos | |
Rakefile | %!s(int64=8) %!d(string=hai) anos | |
ebaytr.gemspec | %!s(int64=8) %!d(string=hai) anos |
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file lib/ebaytr
. To experiment with that code, run bin/console
for an interactive prompt.
TODO: Delete this and the text above, and describe your gem
Add this line to your application's Gemfile:
gem 'ebaytr'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ebaytr
Ebaytr.token = "xxxx"
Ebaytr.url = "https://api.sandbox.ebay.com/ws/api.dll"
@ebay_json = Ebaytr.trading(:GetItem, ItemID: '101010101010')
@ebay_json = Ebaytr.trading(:AddItem, {})
@ebay_json = Ebaytr.trading(:ReviseItem, {})
...
Bug reports and pull requests are welcome on GitHub at https://github.com/anxgang/ebaytr.
The gem is available as open source under the terms of the MIT License.