Class: Docusign::Credential::CredentialSoap

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/docusign/credentialDriver.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://demo.docusign.net/api/3.0/Credential.asmx"
Methods =
[
  [ "http://www.docusign.net/API/Credential/Ping",
    "ping",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.docusign.net/API/Credential", "Ping"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.docusign.net/API/Credential", "PingResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.docusign.net/API/Credential/Login",
    "login",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.docusign.net/API/Credential", "Login"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.docusign.net/API/Credential", "LoginResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ],
  [ "http://www.docusign.net/API/Credential/GetAuthenticationToken",
    "getAuthenticationToken",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "http://www.docusign.net/API/Credential", "GetAuthenticationToken"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "http://www.docusign.net/API/Credential", "GetAuthenticationTokenResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ CredentialSoap

Returns a new instance of CredentialSoap.



35
36
37
38
39
40
41
# File 'lib/docusign/credentialDriver.rb', line 35

def initialize(endpoint_url = nil)
  endpoint_url ||= DefaultEndpointUrl
  super(endpoint_url, nil)
  self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
  self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
  init_methods
end