Class: MethodRuby::Resources::Simulate::Accounts
- Inherits:
-
Object
- Object
- MethodRuby::Resources::Simulate::Accounts
- Defined in:
- lib/method_ruby/resources/simulate/accounts.rb,
lib/method_ruby/resources/simulate/accounts/card_brands.rb,
lib/method_ruby/resources/simulate/accounts/transactions.rb,
lib/method_ruby/resources/simulate/accounts/verification_sessions.rb,
lib/method_ruby/resources/simulate/accounts/verification_sessions/amounts.rb
Defined Under Namespace
Classes: CardBrands, Transactions, VerificationSessions
Instance Attribute Summary collapse
-
#card_brands ⇒ MethodRuby::Resources::Simulate::Accounts::CardBrands
readonly
Sandbox account simulation.
-
#transactions ⇒ MethodRuby::Resources::Simulate::Accounts::Transactions
readonly
Sandbox account simulation.
- #verification_sessions ⇒ MethodRuby::Resources::Simulate::Accounts::VerificationSessions readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ Accounts
constructor
private
A new instance of Accounts.
Constructor Details
#initialize(client:) ⇒ Accounts
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 Accounts.
21 22 23 24 25 26 27 |
# File 'lib/method_ruby/resources/simulate/accounts.rb', line 21 def initialize(client:) @client = client @verification_sessions = MethodRuby::Resources::Simulate::Accounts::VerificationSessions.new(client: client) @transactions = MethodRuby::Resources::Simulate::Accounts::Transactions.new(client: client) @card_brands = MethodRuby::Resources::Simulate::Accounts::CardBrands.new(client: client) end |
Instance Attribute Details
#card_brands ⇒ MethodRuby::Resources::Simulate::Accounts::CardBrands (readonly)
Sandbox account simulation
16 17 18 |
# File 'lib/method_ruby/resources/simulate/accounts.rb', line 16 def card_brands @card_brands end |
#transactions ⇒ MethodRuby::Resources::Simulate::Accounts::Transactions (readonly)
Sandbox account simulation
12 13 14 |
# File 'lib/method_ruby/resources/simulate/accounts.rb', line 12 def transactions @transactions end |
#verification_sessions ⇒ MethodRuby::Resources::Simulate::Accounts::VerificationSessions (readonly)
8 9 10 |
# File 'lib/method_ruby/resources/simulate/accounts.rb', line 8 def verification_sessions @verification_sessions end |