Class: YSM::KeywordService::UsernameToken
- Inherits:
-
Object
- Object
- YSM::KeywordService::UsernameToken
- Defined in:
- lib/ysm4r/v1/KeywordService.rb,
lib/ysm4r/v2/KeywordService.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.
217 218 219 220 |
# File 'lib/ysm4r/v1/KeywordService.rb', line 217 def initialize(username = nil, password = nil) @username = username @password = password end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
215 216 217 |
# File 'lib/ysm4r/v1/KeywordService.rb', line 215 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
214 215 216 |
# File 'lib/ysm4r/v1/KeywordService.rb', line 214 def username @username end |