Class: Stripe::TestHelpers::TerminalService

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ TerminalService

Returns a new instance of TerminalService.



9
10
11
12
# File 'lib/stripe/services/test_helpers/terminal_service.rb', line 9

def initialize(requestor)
  super(requestor)
  @readers = Stripe::TestHelpers::Terminal::ReaderService.new(@requestor)
end

Instance Attribute Details

#readersObject (readonly)

Returns the value of attribute readers.



7
8
9
# File 'lib/stripe/services/test_helpers/terminal_service.rb', line 7

def readers
  @readers
end