Skip to content

Commit 35a67d3

Browse files
chore: Add spec linter for YAML and folded style multiline strings
1 parent 830ae4a commit 35a67d3

3 files changed

Lines changed: 14 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 176
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-d6e80e52c9f20d95780f2cf4869f80ee2c4b270ff9470941dc057e79d15bda1a.yml
3-
openapi_spec_hash: f2bb7084cd5225769302589cd1563241
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-a64e7cc23f0e28427e8a433dd951f05da5d35d982fe695ab2914941711bdfb0f.yml
3+
openapi_spec_hash: 22ea6fa451b7bea3cc33a23d3aded4d6
44
config_hash: 31d71922d7838f34ae0875c9b8026d99

lib/lithic/models/financial_transaction.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ class FinancialTransaction < Lithic::Internal::Type::BaseModel
4949

5050
# @!attribute pending_amount
5151
# Pending amount of the transaction in the currency's smallest unit (e.g., cents),
52-
# including any acquirer fees. The value of this field will go to zero over time
53-
# once the financial transaction is settled.
52+
# including any acquirer fees.
53+
#
54+
# The value of this field will go to zero over time once the financial transaction
55+
# is settled.
5456
#
5557
# @return [Integer]
5658
required :pending_amount, Integer

rbi/lithic/models/financial_transaction.rbi

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ module Lithic
4141
attr_accessor :events
4242

4343
# Pending amount of the transaction in the currency's smallest unit (e.g., cents),
44-
# including any acquirer fees. The value of this field will go to zero over time
45-
# once the financial transaction is settled.
44+
# including any acquirer fees.
45+
#
46+
# The value of this field will go to zero over time once the financial transaction
47+
# is settled.
4648
sig { returns(Integer) }
4749
attr_accessor :pending_amount
4850

@@ -109,8 +111,10 @@ module Lithic
109111
# A list of all financial events that have modified this financial transaction.
110112
events:,
111113
# Pending amount of the transaction in the currency's smallest unit (e.g., cents),
112-
# including any acquirer fees. The value of this field will go to zero over time
113-
# once the financial transaction is settled.
114+
# including any acquirer fees.
115+
#
116+
# The value of this field will go to zero over time once the financial transaction
117+
# is settled.
114118
pending_amount:,
115119
# APPROVED transactions were successful while DECLINED transactions were declined
116120
# by user, Lithic, or the network.

0 commit comments

Comments
 (0)