ubox 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -0
  3. data/lib/ubox.rb +5 -0
  4. data/lib/ubox/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e097388906c4e6aa77bc4af169551815113aebce
4
- data.tar.gz: e124a2f36363f2b2de0eec6b555196028c2d8d6f
3
+ metadata.gz: 2d3034656cda531b6f4612e4410d723b5f4b17b3
4
+ data.tar.gz: 3aceab59f46421d89ffbdd03c4f3c8e55eaa55da
5
5
  SHA512:
6
- metadata.gz: 8a54e759c7142fc3ab699e9d59a32b8bfd397ea7c7250323acf63c8cac772468c2945f4196b9ad4fea0869eb512c39700c7728919c7bd3589784ed1e159e62b0
7
- data.tar.gz: 8161162d0b7ea910f5f1119bc85ee9815ff8abf7b92d3ae308dbc3ca746ebf7e49139e38c25f42eb7d52f7bd14f01e5d65237438e5db86142df26ad261e48652
6
+ metadata.gz: 9d1027269e8dda1a74f2b2cd0a7db8dffeb4df8faa561af6dde1549cfbf5f9faab6516352bb235e1419c707a3f2270475292d305b877a3edbd202bf4b8279caf
7
+ data.tar.gz: 6e23126ef5316bb974e18dde79eb638c291c8be57d8c4e1948b202609253f35b413a1cde7fff65e5506be28f94f964872e59df2da61902edbc216cdd9685da01
data/README.md CHANGED
@@ -123,6 +123,16 @@ status = Ubox.trade_order_status(tran_id: detail['body']['tran_id'])
123
123
  }
124
124
  ```
125
125
 
126
+ ### searchVmList 搜索售货机接口
127
+
128
+ ```ruby
129
+ list = Ubox.search_vm_list(keyword:'北京香颂')
130
+ ```
131
+
132
+ ```json
133
+
134
+ ```
135
+
126
136
  ## Development
127
137
 
128
138
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
data/lib/ubox.rb CHANGED
@@ -70,4 +70,9 @@ module Ubox
70
70
  def trade_order_status(attributes)
71
71
  post_request('/getTradeOrderStatus', attributes)
72
72
  end
73
+
74
+ #搜索售货机接口
75
+ def search_vm_list(attributes)
76
+ post_request('/searchVmList', attributes)
77
+ end
73
78
  end
data/lib/ubox/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ubox
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ubox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saxer