Class: Rubycord::Components::SelectMenu
- Inherits:
-
Object
- Object
- Rubycord::Components::SelectMenu
- Defined in:
- lib/rubycord/data/component.rb
Overview
An interactable select menu component.
Defined Under Namespace
Classes: Option
Instance Attribute Summary collapse
- #custom_id ⇒ String readonly
- #max_values ⇒ Integer? readonly
- #min_values ⇒ Integer? readonly
- #options ⇒ Array<Option> readonly
- #placeholder ⇒ String? readonly
Instance Attribute Details
#custom_id ⇒ String (readonly)
143 144 145 |
# File 'lib/rubycord/data/component.rb', line 143 def custom_id @custom_id end |
#max_values ⇒ Integer? (readonly)
146 147 148 |
# File 'lib/rubycord/data/component.rb', line 146 def max_values @max_values end |
#min_values ⇒ Integer? (readonly)
149 150 151 |
# File 'lib/rubycord/data/component.rb', line 149 def min_values @min_values end |
#options ⇒ Array<Option> (readonly)
155 156 157 |
# File 'lib/rubycord/data/component.rb', line 155 def @options end |
#placeholder ⇒ String? (readonly)
152 153 154 |
# File 'lib/rubycord/data/component.rb', line 152 def placeholder @placeholder end |