mercadolibre 4.4.0 → 4.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9190c315be603677a2f2eeb76f63c1ac2bdb21b11570f0002ca16681b8a33125
4
- data.tar.gz: e8f85be2ee5abc3ed404b647171f88cc79bc4ec94320fb9e863040482f7e5bee
3
+ metadata.gz: 1e0db854f33a873cc4a4153b699cd58fdf3d9878b5bce7c2058c780995ad6c86
4
+ data.tar.gz: 277ad04d8c01eba6e0a29e4362c054055ec7212b73e0d3d2830b3f225c823d9e
5
5
  SHA512:
6
- metadata.gz: 02a5dc44c233a4148050e351e704499fa6e887c34a67e8883b3ad88bd554b36cde1724b38a9b5fd128d11f97afc6617d99829fb0839f8440d1113b3b35d84d14
7
- data.tar.gz: 768f157b4188e9f17e1669dfd26c9dd4c15a08e9c80af3ea3626ffabbd008ef371df2e244ef812fa3c4220ea43d79682e2a019587467763b360b0a14d0c1ea02
6
+ metadata.gz: df6fdcbfdc3b001bcf8992e5fa43c596c9763d055af21029cce56806030ffbc064ad8e50b79a7f9b3fc104f451653473d600c804e79ec1f93a74248c99fa5c37
7
+ data.tar.gz: 7b546631ad683ee59d6e4652e1a1910f5d0bccd61e184e2d0a8070997655952bbf2e1024a60018490eb3a9048a5226a60e0eefae637fee5a67616bc5b04701d4
data/CHANGELOG.md CHANGED
@@ -341,3 +341,7 @@
341
341
  ## v4.4.0
342
342
 
343
343
  * Fixed response on method to get order billing info
344
+
345
+ ## v4.5.0
346
+
347
+ * Added method to search user items
@@ -83,6 +83,12 @@ module Mercadolibre
83
83
 
84
84
  get_request("/users/#{user_id}/available_listing_type/#{listing_type}", filters).body
85
85
  end
86
+
87
+ def get_user_items(user_id, filters={})
88
+ token_attr = { access_token: @access_token }
89
+
90
+ get_request("/users/#{user_id}/items/search", filters.merge(token_attr)).body
91
+ end
86
92
  end
87
93
  end
88
94
  end
@@ -1,3 +1,3 @@
1
1
  module Mercadolibre
2
- VERSION = '4.4.0'
2
+ VERSION = '4.5.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercadolibre
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.0
4
+ version: 4.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-22 00:00:00.000000000 Z
11
+ date: 2018-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  version: '0'
114
114
  requirements: []
115
115
  rubyforge_project:
116
- rubygems_version: 2.7.3
116
+ rubygems_version: 2.7.6
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: Connect to Mercadolibre through Meli API