Class: Engine2::MetaOnChangeSupport::OnChangePostMeta

Inherits:
OnChangeMeta show all
Defined in:
lib/engine2/meta.rb

Instance Attribute Summary

Attributes inherited from Engine2::Meta

#action, #assets, #invokable, #static

Instance Method Summary collapse

Methods inherited from OnChangeMeta

#invoke

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

#request_meta_proc_params(handler) ⇒ Object



527
528
529
530
# File 'lib/engine2/meta.rb', line 527

def request_meta_proc_params handler
    json = handler.post_to_json
    [json[:value], json[:record]]
end