portmone 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/Gemfile.lock +7 -7
- data/lib/portmone/client.rb +4 -1
- data/lib/portmone/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: 23038c64f8880639aca64c4e752025cad7ad925a
|
4
|
+
data.tar.gz: 247215a59bac78eaa85e662ecf5736c6e1bddcf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94c9f01dffce261d68d1f44888c576ed2d3022386575000209dcc1250edd07bd3865716dd2d0864dd8705916f1c0d3269e4e32ffe2f682344c590498e8e8b045
|
7
|
+
data.tar.gz: c8d8f71f58f9e39cfdc764c03e005b526d6f2ca3c18d08bb26311eaa062345e66d7042d1a3ee0df40152fbac7540e6c35ed969d393b5db78efe2f25207049bdb
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
portmone (0.0.
|
4
|
+
portmone (0.0.8)
|
5
5
|
activesupport
|
6
6
|
faraday (~> 0.9)
|
7
7
|
money (~> 6.0)
|
@@ -10,28 +10,28 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (5.
|
13
|
+
activesupport (5.2.2)
|
14
14
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
|
-
i18n (
|
15
|
+
i18n (>= 0.7, < 2)
|
16
16
|
minitest (~> 5.1)
|
17
17
|
tzinfo (~> 1.1)
|
18
18
|
addressable (2.5.2)
|
19
19
|
public_suffix (>= 2.0.2, < 4.0)
|
20
20
|
ast (2.3.0)
|
21
21
|
coderay (1.1.2)
|
22
|
-
concurrent-ruby (1.1.
|
22
|
+
concurrent-ruby (1.1.4)
|
23
23
|
crack (0.4.3)
|
24
24
|
safe_yaml (~> 1.0.0)
|
25
25
|
docile (1.1.5)
|
26
|
-
faraday (0.
|
26
|
+
faraday (0.15.4)
|
27
27
|
multipart-post (>= 1.2, < 3)
|
28
28
|
hashdiff (0.3.7)
|
29
|
-
i18n (
|
29
|
+
i18n (1.5.3)
|
30
30
|
concurrent-ruby (~> 1.0)
|
31
31
|
json (2.1.0)
|
32
32
|
method_source (0.9.0)
|
33
33
|
minitest (5.11.3)
|
34
|
-
money (6.13.
|
34
|
+
money (6.13.2)
|
35
35
|
i18n (>= 0.6.4, <= 2)
|
36
36
|
multi_xml (0.6.0)
|
37
37
|
multipart-post (2.0.0)
|
data/lib/portmone/client.rb
CHANGED
@@ -9,6 +9,7 @@ module Portmone
|
|
9
9
|
password:,
|
10
10
|
locale:,
|
11
11
|
currency:,
|
12
|
+
exp_time: nil,
|
12
13
|
timezone: 'Europe/Kiev',
|
13
14
|
logger: nil)
|
14
15
|
@payee_id = payee_id
|
@@ -18,6 +19,7 @@ module Portmone
|
|
18
19
|
@currency = currency
|
19
20
|
@timezone = timezone
|
20
21
|
@logger = logger
|
22
|
+
@exp_time = exp_time
|
21
23
|
end
|
22
24
|
|
23
25
|
def generate_url(shop_order_number:, amount:, description:, success_url:, failure_url:, authorize_only: true)
|
@@ -32,7 +34,8 @@ module Portmone
|
|
32
34
|
success_url: success_url,
|
33
35
|
failure_url: failure_url,
|
34
36
|
encoding: 'utf-8',
|
35
|
-
preauth_flag: authorize_only ? 'Y' : 'N'
|
37
|
+
preauth_flag: authorize_only ? 'Y' : 'N',
|
38
|
+
exp_time: @exp_time
|
36
39
|
)
|
37
40
|
end
|
38
41
|
|
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.8
|
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-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|