class Docusign::AuthHeaderHandler
Constants
- NAMESPACE
Attributes
attributes[RW]
Public Class Methods
new(options={})
click to toggle source
Calls superclass method
# File lib/docusign/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/auth_header_handler.rb, line 30 def on_simple_outbound if attributes[:user_name] && attributes[:password] {"UsernameToken" => {"Username" => attributes[:user_name], "Password" => attributes[:password]}} end end