Class: Stripe::TestHelpersService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/test_helpers_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

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_tokensObject (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

#customersObject (readonly)

Returns the value of attribute customers.



6
7
8
# File 'lib/stripe/services/test_helpers_service.rb', line 6

def customers
  @customers
end

#issuingObject (readonly)

Returns the value of attribute issuing.



6
7
8
# File 'lib/stripe/services/test_helpers_service.rb', line 6

def issuing
  @issuing
end

#refundsObject (readonly)

Returns the value of attribute refunds.



6
7
8
# File 'lib/stripe/services/test_helpers_service.rb', line 6

def refunds
  @refunds
end

#terminalObject (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_clocksObject (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

#treasuryObject (readonly)

Returns the value of attribute treasury.



6
7
8
# File 'lib/stripe/services/test_helpers_service.rb', line 6

def treasury
  @treasury
end