Class: Stripe::Terminal::Reader::CollectInputsParams::Input::Selection
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::Reader::CollectInputsParams::Input::Selection
- Defined in:
- lib/stripe/resources/terminal/reader.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.
399 400 401 |
# File 'lib/stripe/resources/terminal/reader.rb', line 399 def initialize(choices: nil) @choices = choices end |
Instance Attribute Details
#choices ⇒ Object
List of choices for the ‘selection` input
397 398 399 |
# File 'lib/stripe/resources/terminal/reader.rb', line 397 def choices @choices end |