module Vimo::Ownerable
Public Class Methods
vimo_owner(options = {})
click to toggle source
# File lib/vimo/ownerable.rb, line 8 def self.vimo_owner(options = {}) self.class_eval do has_many :vimo_entities, class_name: "Vimo::Entity", as: :owner end end