Class: BlockKit::Elements::UsersSelect

Inherits:
Select show all
Defined in:
lib/block_kit/elements/users_select.rb

Constant Summary

Constants included from Concerns::HasPlaceholder

Concerns::HasPlaceholder::MAX_TEXT_LENGTH

Constants inherited from Base

Base::MAX_ACTION_ID_LENGTH

Instance Method Summary collapse

Methods inherited from Select

inherited, #initialize

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

Instance Method Details

#as_jsonObject



12
13
14
# File 'lib/block_kit/elements/users_select.rb', line 12

def as_json(*)
  super.merge(initial_user: initial_user).compact
end