Class: Stripe::TestHelpers::TerminalService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::TestHelpers::TerminalService
- Defined in:
- lib/stripe/services/test_helpers/terminal_service.rb
Instance Attribute Summary collapse
-
#readers ⇒ Object
readonly
Returns the value of attribute readers.
Instance Method Summary collapse
-
#initialize(requestor) ⇒ TerminalService
constructor
A new instance of TerminalService.
Methods inherited from StripeService
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
#readers ⇒ Object (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 |