Module: Sintaxi::MerbBotTest::ActMethods

Defined in:
lib/merb_bot_test.rb

Instance Method Summary collapse

Instance Method Details

#merb_bot_test(unique_key) ⇒ Object



13
14
15
16
17
18
19
20
# File 'lib/merb_bot_test.rb', line 13

def merb_bot_test(unique_key)
  unless included_modules.include? InstanceMethods
    include InstanceMethods
    class_inheritable_accessor :site_key
    attr_accessor :response, :answer_key
  end
  self.site_key ||= unique_key ||= 45287
end