lib/robot_catcher/models.rb in robot_catcher-0.0.5 vs lib/robot_catcher/models.rb in robot_catcher-0.0.6
- old
+ new
@@ -1,9 +1,9 @@
module RobotCatcher
module Models
extend ActiveSupport::Concern
- included do
+ module ClassMethods
def robot_catch(*params)
@@rc_params = params
self.class_eval do
def robot?(params, ip)