Class: OnyxCord::Components::CheckboxGroup
- Inherits:
-
Object
- Object
- OnyxCord::Components::CheckboxGroup
- Defined in:
- lib/onyxcord/models/component.rb
Overview
A grouping of checkboxes in a modal.
Instance Attribute Summary collapse
-
#custom_id ⇒ String
readonly
The developer-defined identifier of the checkbox group.
-
#id ⇒ Integer
readonly
The numeric identifier of the checkbox group.
-
#values ⇒ Array<String>
readonly
The values of the selected checkbox buttons.
Instance Attribute Details
#custom_id ⇒ String (readonly)
Returns the developer-defined identifier of the checkbox group.
559 560 561 |
# File 'lib/onyxcord/models/component.rb', line 559 def custom_id @custom_id end |
#id ⇒ Integer (readonly)
Returns the numeric identifier of the checkbox group.
553 554 555 |
# File 'lib/onyxcord/models/component.rb', line 553 def id @id end |
#values ⇒ Array<String> (readonly)
Returns the values of the selected checkbox buttons.
556 557 558 |
# File 'lib/onyxcord/models/component.rb', line 556 def values @values end |