Class: YSM::CompanyService::UsernameToken
- Inherits:
-
Object
- Object
- YSM::CompanyService::UsernameToken
- Defined in:
- lib/ysm4r/v2/CompanyService.rb
Overview
http://schemas.xmlsoap.org/ws/2002/07/secextUsernameToken
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username = nil, password = nil) ⇒ UsernameToken
constructor
A new instance of UsernameToken.
Constructor Details
#initialize(username = nil, password = nil) ⇒ UsernameToken
Returns a new instance of UsernameToken.
46 47 48 49 |
# File 'lib/ysm4r/v2/CompanyService.rb', line 46 def initialize(username = nil, password = nil) @username = username @password = password end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
44 45 46 |
# File 'lib/ysm4r/v2/CompanyService.rb', line 44 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
43 44 45 |
# File 'lib/ysm4r/v2/CompanyService.rb', line 43 def username @username end |