Class: Stripe::Terminal::ReaderService::CollectInputsParams::Input::Selection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::ReaderService::CollectInputsParams::Input::Selection
- Defined in:
- lib/stripe/services/terminal/reader_service.rb
Defined Under Namespace
Classes: Choice
Instance Attribute Summary collapse
-
#choices ⇒ Object
List of choices for the ‘selection` input.
Instance Method Summary collapse
-
#initialize(choices: nil) ⇒ Selection
constructor
A new instance of Selection.
Methods inherited from RequestParams
Constructor Details
#initialize(choices: nil) ⇒ Selection
Returns a new instance of Selection.
146 147 148 |
# File 'lib/stripe/services/terminal/reader_service.rb', line 146 def initialize(choices: nil) @choices = choices end |
Instance Attribute Details
#choices ⇒ Object
List of choices for the ‘selection` input
144 145 146 |
# File 'lib/stripe/services/terminal/reader_service.rb', line 144 def choices @choices end |