Class: Docusign::Credential::LoginResponse::LoginResult

Inherits:
Object
  • Object
show all
Defined in:
lib/docusign/credential.rb

Overview

inner class for member: LoginResult http://www.docusign.net/API/CredentialLoginResult

success - SOAP::SOAPBoolean
errorCode - Docusign::Credential::ErrorCode
authenticationMessage - SOAP::SOAPString
accounts - Docusign::Credential::ArrayOfAccount

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(success = nil, errorCode = nil, authenticationMessage = nil, accounts = nil) ⇒ LoginResult

Returns a new instance of LoginResult.



87
88
89
90
91
92
# File 'lib/docusign/credential.rb', line 87

def initialize(success = nil, errorCode = nil, authenticationMessage = nil, accounts = nil)
  @success = success
  @errorCode = errorCode
  @authenticationMessage = authenticationMessage
  @accounts = accounts
end

Instance Attribute Details

#accountsObject

Returns the value of attribute accounts.



85
86
87
# File 'lib/docusign/credential.rb', line 85

def accounts
  @accounts
end

#authenticationMessageObject

Returns the value of attribute authenticationMessage.



84
85
86
# File 'lib/docusign/credential.rb', line 84

def authenticationMessage
  @authenticationMessage
end

#errorCodeObject

Returns the value of attribute errorCode.



83
84
85
# File 'lib/docusign/credential.rb', line 83

def errorCode
  @errorCode
end

#successObject

Returns the value of attribute success.



82
83
84
# File 'lib/docusign/credential.rb', line 82

def success
  @success
end

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


94
95
96
# File 'lib/docusign/credential.rb', line 94

def success?
  @success
end