xsys 0.0.7 → 0.0.8
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 +3 -2
- 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: a6f648bea35c0264bf535826aa41e1b77555e710
|
4
|
+
data.tar.gz: 14914967298ea0997c75f12890a98ea15e17e211
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd1690c6fc2ab871026d37cce72d467cc00471d78f6f0994c0d1f3d7acbc303727005e61d112510cd67b577ae42919c9950ff9e967667fe3cb80b4715c00764c
|
7
|
+
data.tar.gz: 4fcbe914743829f19598f963f49ba457c379669076b49ac8ee335261c88555231c235ed32dd3cec6a95c980096d096cf57b381ff40c871c4759c9c336c540a94
|
data/CHANGELOG.md
CHANGED
data/lib/xsys/api.rb
CHANGED
@@ -58,11 +58,12 @@ module Xsys
|
|
58
58
|
get_request('/sellers').map { |r| Model::Seller.new(r) }
|
59
59
|
end
|
60
60
|
|
61
|
-
def self.get_sales_period(period, from, to, shop_code=nil)
|
61
|
+
def self.get_sales_period(period, from, to, shop_code=nil, only_with_target=false)
|
62
62
|
get_request("/sales_periods/#{period}", {
|
63
63
|
date_from: from,
|
64
64
|
date_to: to,
|
65
|
-
shop_code: shop_code
|
65
|
+
shop_code: shop_code,
|
66
|
+
only_with_target: only_with_target
|
66
67
|
}).map { |r| Model::SalesPeriod.new(r) }
|
67
68
|
end
|
68
69
|
|
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.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matias Hick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|