Class: Smartcall::Soap::LoginResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/smartcall/soap/default.rb

Overview

/loginResponse

Constant Summary collapse

@@schema_type =
"loginResponse"
@@schema_ns =
"http://tempuri.org/"
@@schema_qualified =
"true"
@@schema_element =
[["loginResult", "SOAP::SOAPBoolean"], ["token", "SOAP::SOAPString"]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loginResult = nil, token = nil) ⇒ LoginResponse

Returns a new instance of LoginResponse.



31
32
33
34
# File 'lib/smartcall/soap/default.rb', line 31

def initialize(loginResult = nil, token = nil)
  @loginResult = loginResult
  @token = token
end

Instance Attribute Details

#loginResultObject

Returns the value of attribute loginResult.



28
29
30
# File 'lib/smartcall/soap/default.rb', line 28

def loginResult
  @loginResult
end

#tokenObject

Returns the value of attribute token.



29
30
31
# File 'lib/smartcall/soap/default.rb', line 29

def token
  @token
end