Sha256: 153fa3913cfa7e5c615e2a885a612efc4f3f0f66ffa78a7b5db1de43f935f38a
Contents?: true
Size: 596 Bytes
Versions: 12
Compression:
Stored size: 596 Bytes
Contents
module WebClient module Actions class Replaces include Coprl::Presenters::WebClient::Helpers::ExpandHash def call(action, parent_id, grid_nesting, *) # Type, URL, Options, Params (passed into javascript event/action classes) trace { 'Replaces action dynamic parameters:'} trace {expand_hash(action.dynamic_params)} [action.type, action.url, action.options.to_h.merge({grid_nesting: grid_nesting, __parent_id__: parent_id, input_tag: action.options[:input_tag]}), expand_hash(action.dynamic_params)] end end end end
Version data entries
12 entries across 12 versions & 1 rubygems