Module: BouncyBots::ClassMethods

Defined in:
lib/bouncy_bots.rb

Instance Method Summary collapse

Instance Method Details

#bounce_bots(field, to, filter_opts = {}) ⇒ Object



11
12
13
14
15
16
17
# File 'lib/bouncy_bots.rb', line 11

def bounce_bots(field, to, filter_opts = {})
  before_filter :bounce_bot, filter_opts

  cattr_accessor :bounce_to
  cattr_accessor :bounce_field
  bouncy_settings(field, to)
end