Module: EmailDirect::ServiceProxyPatch

Included in:
SOAP
Defined in:
lib/email_direct/service_proxy_patch.rb

Instance Method Summary collapse

Instance Method Details

#build_request(method, options) ⇒ Object

same as original, but don’t call .target! on custom builder



4
5
6
7
8
# File 'lib/email_direct/service_proxy_patch.rb', line 4

def build_request(method, options)
  builder  = underscore("build_#{method}")
  self.respond_to?(builder) ? self.send(builder, options) :
                              soap_envelope(options).target!
end