Module: Campaigning::ModuleMixin

Included in:
Campaigning, Campaign, Client, List, Subscriber, Template
Defined in:
lib/campaigning/module_mixin.rb

Overview

:nodoc:

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

@@soap =

DefaultEndpointUrl = “api.createsend.com/api/api.asmx

Campaigning::ApiSoap.new

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
# File 'lib/campaigning/module_mixin.rb', line 7

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



12
13
14
# File 'lib/campaigning/module_mixin.rb', line 12

def handle_response(response)
  self.class.handle_response(response)
end