mercadolibre_api 0.8 → 0.9

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: e6bdebc3905e7ff499cdead4184f51612d5e0cadeb3853abbd5ae1b96d366635
4
- data.tar.gz: d1379417e3e77c7e7a84f8dbfa1ae4e74dc82b0a30fe8407a7c4f30a0d2de211
3
+ metadata.gz: 96c3f19574e676eda68da05c48fb88272d92012131530018d387f8119200a714
4
+ data.tar.gz: 2a05558354073b4695acb3b660bbee8e82210c4f94040e0aa0c73e167a1f048d
5
5
  SHA512:
6
- metadata.gz: b36e172fedf12a27bc3306b27d7b5914fe6857653bb48f23e8686b761649085861ff567c600fea3836f90cf6a560454050c7e9e5834b98ea81191e1d1506c481
7
- data.tar.gz: e2896d06603a24a09f36873b0b4b0988fabb3f35fc70a383959999c5879b4709b0c02b67c5bc96a1f7f619134123cf98e666875f5ed7e53a698db3abe1a13a23
6
+ metadata.gz: 4f53b6aa38fea25258861b1f7d15f36bd3bb8c50f54a30a2d762dd49005f14ce118c98ca97a13fa2d8c919ef78ba54d4b9bf619759b93d6f8f6d61aabd2ed4e6
7
+ data.tar.gz: 34fbf61d43e06886fb119a471c29aa00ebb6b88918ae08346cce74bd64c4ee051896743e4e3f19bf2b010685a5514afa7c01989cce4c0bf200cef8757a4b006f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mercadolibre_api (0.7)
4
+ mercadolibre_api (0.9)
5
5
  active_interaction (~> 3.6)
6
6
  grape-entity (~> 0.7.1)
7
7
  oga (~> 2.15)
@@ -5,8 +5,7 @@ module MercadolibreApi
5
5
  module Sellers
6
6
  module Queries
7
7
  class GetID < ActiveInteraction::Base
8
- integer :product_id
9
- string :site_code
8
+ string :product_id
10
9
 
11
10
  def execute
12
11
  response = Net::HTTP.get_response(product_uri)
@@ -16,7 +15,7 @@ module MercadolibreApi
16
15
  private
17
16
 
18
17
  def product_uri
19
- URI("https://api.mercadolibre.com/items/#{site_code}#{product_id}")
18
+ URI("https://api.mercadolibre.com/items/#{product_id}")
20
19
  end
21
20
  end
22
21
  end
@@ -1,3 +1,3 @@
1
1
  module MercadolibreApi
2
- VERSION = '0.8'.freeze
2
+ VERSION = '0.9'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercadolibre_api
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.8'
4
+ version: '0.9'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Gonzaga
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-05 00:00:00.000000000 Z
11
+ date: 2018-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_interaction