Class: Engine2::MetaOnChangeSupport::OnChangeMeta
- Inherits:
-
Engine2::Meta
- Object
- Engine2::Meta
- Engine2::MetaOnChangeSupport::OnChangeMeta
- Defined in:
- lib/engine2/meta.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Engine2::Meta
#action, #assets, #invokable, #static
Instance Method Summary collapse
Methods included from Engine2::MetaAPISupport
#config, #decorate, #field_filter, #hide_fields, #info, #info!, #render, #show_fields
Methods included from Engine2::MetaAngularSupport
#ng_call, #ng_execute, #ng_info!, #ng_record, #ng_record!
Methods inherited from Engine2::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, #pre_run, #request, #response, #split_keys
Constructor Details
This class inherits a constructor from Engine2::Meta
Instance Method Details
#invoke(handler) ⇒ Object
509 510 511 |
# File 'lib/engine2/meta.rb', line 509 def invoke handler {} end |
#request_meta_proc_params(handler) ⇒ Object
499 500 501 502 503 504 505 506 507 |
# File 'lib/engine2/meta.rb', line 499 def handler if handler.request.post? json = handler.post_to_json [json[:value], json[:record]] else params = handler.request.params [params["value"], params["record"]] end end |