lib/activity_engine.rb in activity_engine-0.0.3 vs lib/activity_engine.rb in activity_engine-0.0.5
- old
+ new
@@ -9,6 +9,10 @@
context_builder = ContextBuilder.new(class_name, method_name)
activity_builder = ActivityBuilder.new(activity_receiver, config_block)
context_builder.wrap!(activity_builder)
end
+ def extract_subject_id(object)
+ Array(object.to_key).join(":")
+ end
+
end