unit_ruby_sdk 1.0.4 → 1.0.5
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 +4 -4
- data/lib/unit/models/payment/create_book_payment_request.rb +2 -3
- data/lib/unit/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: 5668d5b6f37c4258503b7997aea3921af80a511c16c3b41a93dbb5088d1101b5
|
4
|
+
data.tar.gz: 6e4d664998ceb9e4d33433357892b9e16e06bb59e5991b2d9e41a9ada74444e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89fc34d5d4563ce3ba91507f352aa29d402e8e6a91cf108f3429f3abdc3f3ac936a3e00f8fff5df002fab987188b20dc150f8fc8ab1c4a132049be202becc50e
|
7
|
+
data.tar.gz: d93fed682b4d440b17ae9871f2323b68ffbd0a9660524e5e78b65d29d80f3f4e529fc5b55a800e2aa5fde4cbaf2915c8e0438da7f36260fe76b5dd211fb8bcc7
|
@@ -5,7 +5,7 @@
|
|
5
5
|
module Unit
|
6
6
|
module Payment
|
7
7
|
class CreateBookPaymentRequest
|
8
|
-
attr_reader :amount, :description, :account_id, :counterparty_account_id, :transaction_summary_override, :idempotency_key, :tags
|
8
|
+
attr_reader :amount, :description, :account_id, :counterparty_account_id, :transaction_summary_override, :idempotency_key, :tags
|
9
9
|
|
10
10
|
# @param amount [Integer]
|
11
11
|
# @param description [String]
|
@@ -14,13 +14,12 @@ module Unit
|
|
14
14
|
# @param transaction_summary_override [String] - optional
|
15
15
|
# @param idempotency_key [String] - optional
|
16
16
|
# @param tags [Hash] - optional
|
17
|
-
def initialize(amount, description, account_id, counterparty_account_id,
|
17
|
+
def initialize(amount, description, account_id, counterparty_account_id, transaction_summary_override = nil,
|
18
18
|
idempotency_key = nil, tags = nil)
|
19
19
|
@amount = amount
|
20
20
|
@description = description
|
21
21
|
@account_id = account_id
|
22
22
|
@counterparty_account_id = counterparty_account_id
|
23
|
-
@relationships = relationships
|
24
23
|
@transaction_summary_override = transaction_summary_override
|
25
24
|
@idempotency_key = idempotency_key
|
26
25
|
@tags = tags
|
data/lib/unit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unit_ruby_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unit
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: factory_bot_rails
|