Class: YSM::ForecastService::UsernameToken
- Inherits:
-
Object
- Object
- YSM::ForecastService::UsernameToken
- Defined in:
- lib/ysm4r/v1/ForecastService.rb,
lib/ysm4r/v2/ForecastService.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.
122 123 124 125 |
# File 'lib/ysm4r/v1/ForecastService.rb', line 122 def initialize(username = nil, password = nil) @username = username @password = password end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
120 121 122 |
# File 'lib/ysm4r/v1/ForecastService.rb', line 120 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
119 120 121 |
# File 'lib/ysm4r/v1/ForecastService.rb', line 119 def username @username end |