Class: Stripe::TerminalService
- Inherits:
-
StripeService
- Object
- StripeService
- Stripe::TerminalService
- Defined in:
- lib/stripe/services/terminal_service.rb
Instance Attribute Summary collapse
-
#configurations ⇒ Object
readonly
Returns the value of attribute configurations.
-
#connection_tokens ⇒ Object
readonly
Returns the value of attribute connection_tokens.
-
#locations ⇒ Object
readonly
Returns the value of attribute locations.
-
#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.
8 9 10 11 12 13 14 |
# File 'lib/stripe/services/terminal_service.rb', line 8 def initialize(requestor) super(requestor) @configurations = Stripe::Terminal::ConfigurationService.new(@requestor) @connection_tokens = Stripe::Terminal::ConnectionTokenService.new(@requestor) @locations = Stripe::Terminal::LocationService.new(@requestor) @readers = Stripe::Terminal::ReaderService.new(@requestor) end |
Instance Attribute Details
#configurations ⇒ Object (readonly)
Returns the value of attribute configurations.
6 7 8 |
# File 'lib/stripe/services/terminal_service.rb', line 6 def configurations @configurations end |
#connection_tokens ⇒ Object (readonly)
Returns the value of attribute connection_tokens.
6 7 8 |
# File 'lib/stripe/services/terminal_service.rb', line 6 def connection_tokens @connection_tokens end |
#locations ⇒ Object (readonly)
Returns the value of attribute locations.
6 7 8 |
# File 'lib/stripe/services/terminal_service.rb', line 6 def locations @locations end |
#readers ⇒ Object (readonly)
Returns the value of attribute readers.
6 7 8 |
# File 'lib/stripe/services/terminal_service.rb', line 6 def readers @readers end |