Sha256: 4e93197abe1a738e6fcc46683568bae0f817c2edc4db66320e30db5b6796cc98
Contents?: true
Size: 452 Bytes
Versions: 12
Compression:
Stored size: 452 Bytes
Contents
module WebClient module Actions class Post include Coprl::Presenters::WebClient::Helpers::ExpandHash def call(action, parent_id, *) # Type, URL, Options, Params (passed into javascript event/action classes) [action.type, action.url, 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