Class: Rubycord::Components::SelectMenu

Inherits:
Object
  • Object
show all
Defined in:
lib/rubycord/data/component.rb

Overview

An interactable select menu component.

Defined Under Namespace

Classes: Option

Instance Attribute Summary collapse

Instance Attribute Details

#custom_idString (readonly)

Returns:



143
144
145
# File 'lib/rubycord/data/component.rb', line 143

def custom_id
  @custom_id
end

#max_valuesInteger? (readonly)

Returns:



146
147
148
# File 'lib/rubycord/data/component.rb', line 146

def max_values
  @max_values
end

#min_valuesInteger? (readonly)

Returns:



149
150
151
# File 'lib/rubycord/data/component.rb', line 149

def min_values
  @min_values
end

#optionsArray<Option> (readonly)

Returns:



155
156
157
# File 'lib/rubycord/data/component.rb', line 155

def options
  @options
end

#placeholderString? (readonly)

Returns:



152
153
154
# File 'lib/rubycord/data/component.rb', line 152

def placeholder
  @placeholder
end