module ActionStore::Mixin

Public Instance Methods

create_action(action_type, opts) click to toggle source
# File lib/action_store/mixin.rb, line 15
def create_action(action_type, opts)
  opts[:user] = self
  self.class.create_action(action_type, opts)
end
destroy_action(action_type, opts) click to toggle source
# File lib/action_store/mixin.rb, line 20
def destroy_action(action_type, opts)
  opts[:user] = self
  self.class.destroy_action(action_type, opts)
end
find_action(action_type, opts) click to toggle source
# File lib/action_store/mixin.rb, line 10
def find_action(action_type, opts)
  opts[:user] = self
  self.class.find_action(action_type, opts)
end