Skip to content

Commit 64a3240

Browse files
chore: use fully qualified names for yard annotations and rbs aliases
1 parent 2e49139 commit 64a3240

442 files changed

Lines changed: 5491 additions & 1992 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

lib/lithic/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class Client < Lithic::Internal::Transport::BaseClient
107107
#
108108
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
109109
#
110-
# @return [Lithic::APIStatus]
110+
# @return [Lithic::Models::APIStatus]
111111
#
112112
# @see Lithic::Models::ClientAPIStatusParams
113113
def api_status(params = {})

lib/lithic/models/account.rb

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Account < Lithic::Internal::Type::BaseModel
2525
# time limit (rolling). A lifetime limit of 0 indicates that the lifetime limit
2626
# feature is disabled.
2727
#
28-
# @return [Lithic::Account::SpendLimit]
28+
# @return [Lithic::Models::Account::SpendLimit]
2929
required :spend_limit, -> { Lithic::Account::SpendLimit }
3030

3131
# @!attribute state
@@ -41,12 +41,12 @@ class Account < Lithic::Internal::Type::BaseModel
4141
# [support@lithic.com](mailto:support@lithic.com) if you believe this was in
4242
# error.
4343
#
44-
# @return [Symbol, Lithic::Account::State]
44+
# @return [Symbol, Lithic::Models::Account::State]
4545
required :state, enum: -> { Lithic::Account::State }
4646

4747
# @!attribute account_holder
4848
#
49-
# @return [Lithic::Account::AccountHolder, nil]
49+
# @return [Lithic::Models::Account::AccountHolder, nil]
5050
optional :account_holder, -> { Lithic::Account::AccountHolder }
5151

5252
# @!attribute auth_rule_tokens
@@ -69,30 +69,30 @@ class Account < Lithic::Internal::Type::BaseModel
6969
# @!attribute verification_address
7070
# @deprecated
7171
#
72-
# @return [Lithic::Account::VerificationAddress, nil]
72+
# @return [Lithic::Models::Account::VerificationAddress, nil]
7373
optional :verification_address, -> { Lithic::Account::VerificationAddress }
7474

7575
# @!method initialize(token:, created:, spend_limit:, state:, account_holder: nil, auth_rule_tokens: nil, cardholder_currency: nil, verification_address: nil)
76-
# Some parameter documentations has been truncated, see {Lithic::Account} for more
77-
# details.
76+
# Some parameter documentations has been truncated, see {Lithic::Models::Account}
77+
# for more details.
7878
#
7979
# @param token [String] Globally unique identifier for the account. This is the same as the account_toke
8080
#
8181
# @param created [Time, nil] Timestamp of when the account was created.
8282
#
83-
# @param spend_limit [Lithic::Account::SpendLimit] Spend limit information for the user containing the daily, monthly, and lifetime
83+
# @param spend_limit [Lithic::Models::Account::SpendLimit] Spend limit information for the user containing the daily, monthly, and lifetime
8484
#
85-
# @param state [Symbol, Lithic::Account::State] Account state:
85+
# @param state [Symbol, Lithic::Models::Account::State] Account state:
8686
#
87-
# @param account_holder [Lithic::Account::AccountHolder]
87+
# @param account_holder [Lithic::Models::Account::AccountHolder]
8888
#
8989
# @param auth_rule_tokens [Array<String>] List of identifiers for the Auth Rule(s) that are applied on the account.
9090
#
9191
# @param cardholder_currency [String] 3-character alphabetic ISO 4217 code for the currency of the cardholder.
9292
#
93-
# @param verification_address [Lithic::Account::VerificationAddress]
93+
# @param verification_address [Lithic::Models::Account::VerificationAddress]
9494

95-
# @see Lithic::Account#spend_limit
95+
# @see Lithic::Models::Account#spend_limit
9696
class SpendLimit < Lithic::Internal::Type::BaseModel
9797
# @!attribute daily
9898
# Daily spend limit (in cents).
@@ -138,7 +138,7 @@ class SpendLimit < Lithic::Internal::Type::BaseModel
138138
# [support@lithic.com](mailto:support@lithic.com) if you believe this was in
139139
# error.
140140
#
141-
# @see Lithic::Account#state
141+
# @see Lithic::Models::Account#state
142142
module State
143143
extend Lithic::Internal::Type::Enum
144144

@@ -150,7 +150,7 @@ module State
150150
# @return [Array<Symbol>]
151151
end
152152

153-
# @see Lithic::Account#account_holder
153+
# @see Lithic::Models::Account#account_holder
154154
class AccountHolder < Lithic::Internal::Type::BaseModel
155155
# @!attribute token
156156
# Globally unique identifier for the account holder.
@@ -180,7 +180,7 @@ class AccountHolder < Lithic::Internal::Type::BaseModel
180180

181181
# @!method initialize(token:, business_account_token:, email:, phone_number:)
182182
# Some parameter documentations has been truncated, see
183-
# {Lithic::Account::AccountHolder} for more details.
183+
# {Lithic::Models::Account::AccountHolder} for more details.
184184
#
185185
# @param token [String] Globally unique identifier for the account holder.
186186
#
@@ -193,7 +193,7 @@ class AccountHolder < Lithic::Internal::Type::BaseModel
193193

194194
# @deprecated
195195
#
196-
# @see Lithic::Account#verification_address
196+
# @see Lithic::Models::Account#verification_address
197197
class VerificationAddress < Lithic::Internal::Type::BaseModel
198198
# @!attribute address1
199199
# Valid deliverable address (no PO boxes).
@@ -236,7 +236,7 @@ class VerificationAddress < Lithic::Internal::Type::BaseModel
236236

237237
# @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
238238
# Some parameter documentations has been truncated, see
239-
# {Lithic::Account::VerificationAddress} for more details.
239+
# {Lithic::Models::Account::VerificationAddress} for more details.
240240
#
241241
# @param address1 [String] Valid deliverable address (no PO boxes).
242242
#

0 commit comments

Comments
 (0)