Class: Stripe::Terminal::Reader::CollectInputsParams::Input::Selection

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/terminal/reader.rb

Defined Under Namespace

Classes: Choice

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(choices: nil) ⇒ Selection

Returns a new instance of Selection.



348
349
350
# File 'lib/stripe/resources/terminal/reader.rb', line 348

def initialize(choices: nil)
  @choices = choices
end

Instance Attribute Details

#choicesObject

List of choices for the ‘selection` input



346
347
348
# File 'lib/stripe/resources/terminal/reader.rb', line 346

def choices
  @choices
end