Class: OFX::UserCredentials
- Inherits:
-
Object
- Object
- OFX::UserCredentials
- Defined in:
- lib/ofx/signon_message_set.rb,
lib/ofx/1.0.2/signon_message_set.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#user_identification ⇒ Object
Returns the value of attribute user_identification.
Instance Method Summary collapse
-
#initialize(user_identification, password) ⇒ UserCredentials
constructor
A new instance of UserCredentials.
- #to_ofx_102_s ⇒ Object
Constructor Details
#initialize(user_identification, password) ⇒ UserCredentials
Returns a new instance of UserCredentials.
38 39 40 41 |
# File 'lib/ofx/signon_message_set.rb', line 38 def initialize(user_identification, password) @user_identification = user_identification @password = password end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
36 37 38 |
# File 'lib/ofx/signon_message_set.rb', line 36 def password @password end |
#user_identification ⇒ Object
Returns the value of attribute user_identification.
35 36 37 |
# File 'lib/ofx/signon_message_set.rb', line 35 def user_identification @user_identification end |
Instance Method Details
#to_ofx_102_s ⇒ Object
67 68 69 70 |
# File 'lib/ofx/1.0.2/signon_message_set.rb', line 67 def to_ofx_102_s " <USERID>#{user_identification}\n" + " <USERPASS>#{password}" end |