Class: Stripe::TestHelpersService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::TestHelpersService
- Defined in:
- lib/stripe/services/test_helpers_service.rb
Instance Attribute Summary collapse
-
#confirmation_tokens ⇒ Object
readonly
Returns the value of attribute confirmation_tokens.
-
#customers ⇒ Object
readonly
Returns the value of attribute customers.
-
#issuing ⇒ Object
readonly
Returns the value of attribute issuing.
-
#refunds ⇒ Object
readonly
Returns the value of attribute refunds.
-
#terminal ⇒ Object
readonly
Returns the value of attribute terminal.
-
#test_clocks ⇒ Object
readonly
Returns the value of attribute test_clocks.
-
#treasury ⇒ Object
readonly
Returns the value of attribute treasury.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ TestHelpersService
constructor
A new instance of TestHelpersService.
Methods inherited from StripeService
Constructor Details
#initialize(requestor) ⇒ TestHelpersService
Returns a new instance of TestHelpersService.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/stripe/services/test_helpers_service.rb', line 8 def initialize(requestor) super(requestor) @confirmation_tokens = Stripe::TestHelpers::ConfirmationTokenService.new(@requestor) @customers = Stripe::TestHelpers::CustomerService.new(@requestor) @issuing = Stripe::TestHelpers::IssuingService.new(@requestor) @refunds = Stripe::TestHelpers::RefundService.new(@requestor) @terminal = Stripe::TestHelpers::TerminalService.new(@requestor) @test_clocks = Stripe::TestHelpers::TestClockService.new(@requestor) @treasury = Stripe::TestHelpers::TreasuryService.new(@requestor) end |
Instance Attribute Details
#confirmation_tokens ⇒ Object (readonly)
Returns the value of attribute confirmation_tokens.
6 7 8 |
# File 'lib/stripe/services/test_helpers_service.rb', line 6 def confirmation_tokens @confirmation_tokens end |
#customers ⇒ Object (readonly)
Returns the value of attribute customers.
6 7 8 |
# File 'lib/stripe/services/test_helpers_service.rb', line 6 def customers @customers end |
#issuing ⇒ Object (readonly)
Returns the value of attribute issuing.
6 7 8 |
# File 'lib/stripe/services/test_helpers_service.rb', line 6 def issuing @issuing end |
#refunds ⇒ Object (readonly)
Returns the value of attribute refunds.
6 7 8 |
# File 'lib/stripe/services/test_helpers_service.rb', line 6 def refunds @refunds end |
#terminal ⇒ Object (readonly)
Returns the value of attribute terminal.
6 7 8 |
# File 'lib/stripe/services/test_helpers_service.rb', line 6 def terminal @terminal end |
#test_clocks ⇒ Object (readonly)
Returns the value of attribute test_clocks.
6 7 8 |
# File 'lib/stripe/services/test_helpers_service.rb', line 6 def test_clocks @test_clocks end |
#treasury ⇒ Object (readonly)
Returns the value of attribute treasury.
6 7 8 |
# File 'lib/stripe/services/test_helpers_service.rb', line 6 def treasury @treasury end |