Module: EmailDirect::ServiceProxyPatch
- Included in:
- SOAP
- Defined in:
- lib/email_direct/service_proxy_patch.rb
Instance Method Summary collapse
-
#build_request(method, options) ⇒ Object
same as original, but don’t call .target! on custom builder.
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, ) builder = underscore("build_#{method}") self.respond_to?(builder) ? self.send(builder, ) : soap_envelope().target! end |