Sha256: 93ff47b793555ea29086b7e8f26cf71a45722dc2ea64e0c097b199cf89e8b78a
Contents?: true
Size: 556 Bytes
Versions: 73
Compression:
Stored size: 556 Bytes
Contents
ForestLiana.apimap.each do |collection| if !collection.actions.empty? collection.actions.each do |action| if action.hooks && action.hooks[:load].present? post action.endpoint.sub('forest', '') + '/hooks/load' => 'actions#load', action_name: ActiveSupport::Inflector.parameterize(action.name) end if action.hooks && action.hooks[:change].present? post action.endpoint.sub('forest', '') + '/hooks/change' => 'actions#change', action_name: ActiveSupport::Inflector.parameterize(action.name) end end end end
Version data entries
73 entries across 73 versions & 1 rubygems