Class: BlockKit::Elements::WorkflowButton
- Inherits:
-
BaseButton
- Object
- Base
- Base
- BaseButton
- BlockKit::Elements::WorkflowButton
- Defined in:
- lib/block_kit/elements/workflow_button.rb
Constant Summary
Constants inherited from BaseButton
BaseButton::MAX_ACCESSIBILITY_LABEL_LENGTH, BaseButton::MAX_TEXT_LENGTH, BaseButton::VALID_STYLES
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from BaseButton
Methods inherited from Base
Methods inherited from Base
#==, fix, #fix_validation_errors, #fix_validation_errors!, fixes, inherited, #initialize, inspect, #inspect, #pretty_print, #to_json
Constructor Details
This class inherits a constructor from BlockKit::Elements::BaseButton
Instance Method Details
#as_json ⇒ Object
13 14 15 |
# File 'lib/block_kit/elements/workflow_button.rb', line 13 def as_json(*) super.merge(workflow: workflow&.as_json).compact end |