Sha256: 526b14c2023664ad475dda0ebd4345a0dea76f56047c133378577d21d6591ee3
Contents?: true
Size: 517 Bytes
Versions: 23
Compression:
Stored size: 517 Bytes
Contents
class Card module Query # support CQL queries that require the card_acts table class ActQuery < AbstractQuery def table "card_acts" end def table_prefix "cx" end def action_on card tie :action, { action_on: card }, { to: :card_act_id } end def update_action_on card tie :action, { update_action_on: card }, { to: :card_act_id } end def act_by card tie :card, card, from: :actor_id end end end end
Version data entries
23 entries across 23 versions & 1 rubygems