Class: Engine2::LogoutFormMeta
- Includes:
- MetaMenuSupport, MetaPanelSupport
- Defined in:
- lib/engine2/meta/infra_meta.rb
Instance Attribute Summary
Attributes inherited from Meta
#action, #assets, #invokable, #static
Instance Method Summary collapse
Methods included from MetaPanelSupport
#footer, #modal_action, #panel, #panel_class, #panel_panel_template, #panel_template, #panel_title, #post_run
Methods included from MetaMenuSupport
Methods inherited from Meta
#action_defined, #check_static_meta, #dynamic?, #freeze_meta, #get, http_method, #http_method, inherited, #initialize, #invoke!, #lookup, #merge, #meta_type, meta_type, #post_process, #post_run, #request, #request_meta_proc_params, #response, #split_keys
Constructor Details
This class inherits a constructor from Engine2::Meta
Instance Method Details
#invoke(handler) ⇒ Object
277 278 279 |
# File 'lib/engine2/meta/infra_meta.rb', line 277 def invoke handler {message: LOCS[:logout_message]} end |
#pre_run ⇒ Object
266 267 268 269 270 271 272 273 274 275 |
# File 'lib/engine2/meta/infra_meta.rb', line 266 def pre_run super panel_template 'scaffold/message' panel_title LOCS[:logout_title] panel_class 'modal-default' :panel_menu do option :logout, icon: "ok", loc: LOCS[:ok] option :cancel, icon: "remove" end end |