Class: Stripe::TerminalService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/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.



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

#configurationsObject (readonly)

Returns the value of attribute configurations.



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

def configurations
  @configurations
end

#connection_tokensObject (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

#locationsObject (readonly)

Returns the value of attribute locations.



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

def locations
  @locations
end

#readersObject (readonly)

Returns the value of attribute readers.



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

def readers
  @readers
end