portmone 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/portmone/client.rb +4 -3
- data/lib/portmone/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26414bad113ba645e7eb88e78140e0cfec72d0cf0360364de8184e4ef8f0805d
|
4
|
+
data.tar.gz: fc32e7f9586acb8f4fecc1b0657a289daa8212c2c001ef6d85c27a96afc4ae88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5431f8509bad0285ffab4c43b563aee623d2e2497054cadd65d261a6240b493325ddb1850f496524ad6d251c3d3fd85e9f8a84ccdcf835dbab04705cccd0f2e0
|
7
|
+
data.tar.gz: 335de3ab2131325bcaed1820405e2d2d5f143881144cc4a4d0adc4e262cab237da5af86800c6d37eea2cd85b75c8190a7f06498036e1f8961958739ab58ded33
|
data/Gemfile.lock
CHANGED
data/lib/portmone/client.rb
CHANGED
@@ -42,10 +42,11 @@ module Portmone
|
|
42
42
|
|
43
43
|
def order_status(shop_order_number, created_date: nil)
|
44
44
|
if created_date
|
45
|
-
|
45
|
+
start_date = created_date - 1.day
|
46
|
+
end_date = created_date + 1.day
|
46
47
|
generic_report(shop_order_number: shop_order_number,
|
47
|
-
start_date:
|
48
|
-
end_date:
|
48
|
+
start_date: format_date(start_date),
|
49
|
+
end_date: format_date(end_date))
|
49
50
|
else
|
50
51
|
generic_report(shop_order_number: shop_order_number)
|
51
52
|
end
|
data/lib/portmone/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: portmone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Sviridov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|