Module: Katsudo::ActiveRecordExtension::ClassMethods

Defined in:
lib/katsudo/models.rb

Instance Method Summary collapse

Instance Method Details

#activity_resource!Object



30
31
32
33
34
# File 'lib/katsudo/models.rb', line 30

def activity_resource!
  class_eval do
    include Katsudo::Models::Resource
  end
end

#activity_user!Object



24
25
26
27
28
# File 'lib/katsudo/models.rb', line 24

def activity_user!
  class_eval do
    include Katsudo::Models::User
  end
end