Module: PublicActivity::Tracked

Extended by:
ActiveSupport::Concern
Defined in:
lib/public_activity/roles/tracked.rb

Overview

Main module extending classes we want to keep track of.

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#activity(*args) ⇒ Object

Deprecated.

Raises:


7
8
9
# File 'lib/public_activity/roles/tracked.rb', line 7

def activity(*args)
  raise DeprecatedError, "instance level for setting activity variables is removed in 2.0 version. Use #create_activity instead."
end