xsys 0.7.0 → 0.8.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
  SHA1:
3
- metadata.gz: 97ad736d57f0b50408389a65e4fce91239f9039a
4
- data.tar.gz: ba46e64c98665753b61da0a8eeb6a79e43252d85
3
+ metadata.gz: 1fe70f1bfb006022ae7d201107f6ef49e66c6630
4
+ data.tar.gz: dbdfccc86e778788ec59325332ab5bdc8755078c
5
5
  SHA512:
6
- metadata.gz: c9eaad58b23b554c968d571cdce6e124a87fca90f9769df304418e268c2f498da2c85938e904fe96c30755d362503128f42da628f3129681466533e4aa9dace1
7
- data.tar.gz: 5281ee738c01daacc1d6df20024f6b81755966850e8410b62d9df536a30d5fb07fc9714dff1f3840a28b3a75c0551f6e787954ee101f06509e0209f2b4b701e7
6
+ metadata.gz: 486e399a03c7b69c8cd68bc2d67b4b1ba90b6d76f9f294b42277baca442b8a2d6547d3a803c818ac512c46b0b15b6feac5738f91a5d1be2163cd0d676d0555d7
7
+ data.tar.gz: 3a9052b07855b8c8c93942a4104e1abc45998433588476de5e5350c3729cfe9eaa444857da053a97010aa2f98b84b18a3cb3f1758d9e91d56bf5d498e03afba3
data/CHANGELOG.md CHANGED
@@ -237,3 +237,7 @@
237
237
  ## v0.7.0
238
238
 
239
239
  * Updated shop attributes
240
+
241
+ ## v0.8.0
242
+
243
+ * Added method to update user
data/lib/xsys/api.rb CHANGED
@@ -8,6 +8,8 @@ module Xsys
8
8
  end
9
9
 
10
10
  @access_token = args[:access_token]
11
+
12
+ self
11
13
  end
12
14
 
13
15
  def self.get_background_job(code)
@@ -143,6 +145,10 @@ module Xsys
143
145
  end
144
146
  end
145
147
 
148
+ def self.update_product(product_id, attrs={})
149
+ put_request("/products/#{product_id}", attrs)[:body]
150
+ end
151
+
146
152
  def self.update_product_price_list(attrs={})
147
153
  put_request('/product_price_lists', attrs)[:body]
148
154
  end
data/lib/xsys/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Xsys
2
- VERSION = "0.7.0"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xsys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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: 2016-05-27 00:00:00.000000000 Z
11
+ date: 2016-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler