lib/slack/block_kit/element/static_select.rb in slack-ruby-block-kit-0.24.0 vs lib/slack/block_kit/element/static_select.rb in slack-ruby-block-kit-0.25.0
- old
+ new
@@ -25,14 +25,15 @@
@focus_on_load = focus_on_load
yield(self) if block_given?
end
- def option(value:, text:, initial: false, emoji: nil)
+ def option(value:, text:, description: nil, initial: false, emoji: nil)
@options ||= []
@options << Composition::Option.new(
value: value,
text: text,
+ description: description,
emoji: emoji,
initial: initial
)
self