payture-cheques 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e086d84eafa8c5752ebf6d78c6107a385d3ac595
|
4
|
+
data.tar.gz: 422a79503f3ad5023921883d6e13310b9ef7bc7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40551d8a7dd3fc25637d2ff260244415932de35000eae26ebff44186b05764e2bab1034171cccd371c5e3903ef2bd51b8624e1cac4a339ea6c13596fde814915
|
7
|
+
data.tar.gz: 043670ae638cc81a3daa5155630166f4e0f206f484c4e056c4f5ea236b561d14bc96ede525ce803e32a854fa424b730725688b2923d0aa15fe4296e35134b4c6
|
@@ -11,10 +11,12 @@ module Payture::Cheques
|
|
11
11
|
|
12
12
|
def params(cheque_id:, inn:, content:, group: nil)
|
13
13
|
message = content.delete("Message") || content.delete(:Message)
|
14
|
+
additional_messages = content.delete("AdditionalMessages") || content.delete(:AdditionalMessages)
|
14
15
|
params = {
|
15
16
|
Key: config.merchant_id,
|
16
17
|
Password: config.password,
|
17
18
|
Message: message,
|
19
|
+
AdditionalMessages: additional_messages || [],
|
18
20
|
Cheque: {
|
19
21
|
Id: cheque_id,
|
20
22
|
INN: inn,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: payture-cheques
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Sviridov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
185
|
rubyforge_project:
|
186
|
-
rubygems_version: 2.
|
186
|
+
rubygems_version: 2.6.8
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: Payture payment system API for sendind cheques separately from payments
|