module Actionable::MongoidStore

Public Class Methods

build(*args) click to toggle source
# File lib/actionable/mongoid_store.rb, line 22
def self.build(*args)
  Action.build(*args)
end
count() click to toggle source
# File lib/actionable/mongoid_store.rb, line 14
def self.count
  Action.count
end
create(*args) click to toggle source
# File lib/actionable/mongoid_store.rb, line 18
def self.create(*args)
  Action.create(*args)
end
find(key) click to toggle source
# File lib/actionable/mongoid_store.rb, line 6
def self.find(key)
  Action.find(key)
end
find_by_target_id(target_id) click to toggle source
# File lib/actionable/mongoid_store.rb, line 10
def self.find_by_target_id(target_id)
  Action.where(target_id:target_id)
end