class Docusign::IntegratorsKeyAuthHeaderHandler
Constants
- NAMESPACE
Attributes
attributes[RW]
Public Class Methods
new(options={})
click to toggle source
Calls superclass method
# File lib/docusign/integrators_key_auth_header_handler.rb, line 24 def initialize(options={}) self.attributes = options super(XSD::QName.new(NAMESPACE, 'Security')) end
Public Instance Methods
on_simple_outbound()
click to toggle source
# File lib/docusign/integrators_key_auth_header_handler.rb, line 30 def on_simple_outbound if attributes[:integrators_key] && attributes[:email] { 'UsernameToken' => { 'Username' => "[#{attributes[:integrators_key]}]#{attributes[:email]}", 'Password' => attributes[:password] } } end end