Class: BlockKit::Elements::Overflow

Inherits:
Base
  • Object
show all
Includes:
Concerns::Confirmable
Defined in:
lib/block_kit/elements/overflow.rb

Constant Summary collapse

MAX_OPTIONS =
5

Constants inherited from Base

Base::MAX_ACTION_ID_LENGTH

Instance Method Summary collapse

Methods inherited from Base

inherited, #initialize

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::Base

Instance Method Details

#as_jsonObject



18
19
20
# File 'lib/block_kit/elements/overflow.rb', line 18

def as_json(*)
  super.merge(options: options&.map(&:as_json))
end