Class: Telnyx::Resources::X402
- Inherits:
-
Object
- Object
- Telnyx::Resources::X402
- Defined in:
- lib/telnyx/resources/x402.rb,
lib/telnyx/resources/x402/credit_account.rb
Defined Under Namespace
Classes: CreditAccount
Instance Attribute Summary collapse
-
#credit_account ⇒ Telnyx::Resources::X402::CreditAccount
readonly
Operations for x402 cryptocurrency payment transactions.
Instance Method Summary collapse
-
#initialize(client:) ⇒ X402
constructor
private
A new instance of X402.
Constructor Details
#initialize(client:) ⇒ X402
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of X402.
14 15 16 17 |
# File 'lib/telnyx/resources/x402.rb', line 14 def initialize(client:) @client = client @credit_account = Telnyx::Resources::X402::CreditAccount.new(client: client) end |
Instance Attribute Details
#credit_account ⇒ Telnyx::Resources::X402::CreditAccount (readonly)
Operations for x402 cryptocurrency payment transactions. Fund your Telnyx account using USDC stablecoin payments via the x402 protocol.
9 10 11 |
# File 'lib/telnyx/resources/x402.rb', line 9 def credit_account @credit_account end |