module Godmin::Resources::ResourceService::BatchActions::ClassMethods
Public Instance Methods
batch_action(attr, options = {})
click to toggle source
# File lib/godmin/resources/resource_service/batch_actions.rb, line 41 def batch_action(attr, options = {}) batch_action_map[attr] = { only: nil, except: nil, confirm: false }.merge(options) end
batch_action_map()
click to toggle source
# File lib/godmin/resources/resource_service/batch_actions.rb, line 37 def batch_action_map @batch_action_map ||= {} end