portmone 0.0.9 → 0.0.10

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: 9a1600b423ce55672d03a7906e474823f73eeb0232e8fe08d9bec074c989e585
4
- data.tar.gz: 3648a02b61846f275ae160acd9767017bed22cca5bf243915285a1a433d6b3c0
3
+ metadata.gz: 9550c401461b350232c6e477c671e7108e59737b4a1e6486d0da410822b58c39
4
+ data.tar.gz: 937041ba3714c915525024357a4b6f67d1b2a29c812a69fed9a14026ff14555d
5
5
  SHA512:
6
- metadata.gz: 57b0d6f7188867345cb64c9069b931a86f53ee7b9527c0642d1d1c1a5c26f4d05e0cff30826ab973b67611342e23830eb4925afb55e2932f03b54026387d83f8
7
- data.tar.gz: 177baf7c0a83e4bac731e4bbdfc8e52010bddceb1b1d467b77ee4441fc5d63e4cf4a835b43f28d799b908a60b36d5b358d927d17b30eb529bd32a7193322754e
6
+ metadata.gz: c0f83a13ae6a871ebfb1c88b9f544c49fc60102a5c5bc90690cf3f7715e3f5ef7c94c42b888152a902ebad316f24f3ddd8b4d813fa0d66ee6d49254c548dfb6d
7
+ data.tar.gz: f80503d035abd5c0a19456725038c0226ec681bbaf07a0598008fb0ec43a921e542ccfe069d08149e8c9cc3dc30bb476b8d475f4d2f397fc0ccd2abc0f7b8525
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- portmone (0.0.9)
4
+ portmone (0.0.10)
5
5
  activesupport
6
6
  faraday (~> 0.9)
7
7
  money (~> 6.0)
@@ -10,7 +10,7 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (5.2.2)
13
+ activesupport (5.2.3)
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
15
15
  i18n (>= 0.7, < 2)
16
16
  minitest (~> 5.1)
@@ -40,8 +40,15 @@ module Portmone
40
40
  )
41
41
  end
42
42
 
43
- def order_status(shop_order_number)
44
- generic_report(shop_order_number: shop_order_number)
43
+ def order_status(shop_order_number, created_date: nil)
44
+ if created_date
45
+ generic_report(shop_order_number: shop_order_number)
46
+ else
47
+ date = format_date(created_date)
48
+ generic_report(shop_order_number: shop_order_number,
49
+ start_date: date,
50
+ end_date: date)
51
+ end
45
52
  end
46
53
 
47
54
  def void(order_id)
@@ -1,3 +1,3 @@
1
1
  module Portmone
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
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.9
4
+ version: 0.0.10
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-07-30 00:00:00.000000000 Z
11
+ date: 2019-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport