Sha256: 7421424405b2236c1e8bdb3c7fc9bf64ce2e34ce368326a36e771437a2299cc6
Contents?: true
Size: 484 Bytes
Versions: 12
Compression:
Stored size: 484 Bytes
Contents
module WebClient module Actions class PromptIfDirty include Coprl::Presenters::WebClient::Helpers::ExpandHash def call(action, parent_id, *) # Type, URL, Options, Params (passed into javascript event/action classes) [ action.type, nil, expand_hash(action.options).merge(__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