Class: Smartcall::Soap::Login

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

Overview

/login

Constant Summary collapse

@@schema_type =
"login"
@@schema_ns =
"http://tempuri.org/"
@@schema_qualified =
"true"
@@schema_element =
[["username", "SOAP::SOAPString"], ["password", "SOAP::SOAPString"]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username = nil, password = nil) ⇒ Login

Returns a new instance of Login.



15
16
17
18
# File 'lib/smartcall/soap/default.rb', line 15

def initialize(username = nil, password = nil)
  @username = username
  @password = password
end

Instance Attribute Details

#passwordObject

Returns the value of attribute password.



13
14
15
# File 'lib/smartcall/soap/default.rb', line 13

def password
  @password
end

#usernameObject

Returns the value of attribute username.



12
13
14
# File 'lib/smartcall/soap/default.rb', line 12

def username
  @username
end