Module: Campaigning::Helpers
- Included in:
- Campaigning, Campaign, Client, List, Subscriber
- Defined in:
- lib/campaigning/helpers/helpers.rb
Overview
:nodoc:
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 |
# File 'lib/campaigning/helpers/helpers.rb', line 3 def self.included(base) base.extend(ClassMethods) # Make all ClassMethods methods avaiable to the object including this module. private :handle_response end |
Instance Method Details
#handle_response(response) ⇒ Object
8 9 10 |
# File 'lib/campaigning/helpers/helpers.rb', line 8 def handle_response(response) self.class.handle_response(response) end |