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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/xsys/api.rb +6 -0
- data/lib/xsys/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fe70f1bfb006022ae7d201107f6ef49e66c6630
|
4
|
+
data.tar.gz: dbdfccc86e778788ec59325332ab5bdc8755078c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 486e399a03c7b69c8cd68bc2d67b4b1ba90b6d76f9f294b42277baca442b8a2d6547d3a803c818ac512c46b0b15b6feac5738f91a5d1be2163cd0d676d0555d7
|
7
|
+
data.tar.gz: 3a9052b07855b8c8c93942a4104e1abc45998433588476de5e5350c3729cfe9eaa444857da053a97010aa2f98b84b18a3cb3f1758d9e91d56bf5d498e03afba3
|
data/CHANGELOG.md
CHANGED
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
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.
|
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-
|
11
|
+
date: 2016-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|