Class: OFX::TransactionalResponse
- Defined in:
- lib/ofx/message_set.rb,
lib/ofx/1.0.2/message_set.rb
Direct Known Subclasses
AccountInformationResponse, BankingStatementResponse, CreditCardClosingStatementResponse, CreditCardStatementResponse, FinancialInstitutionProfileResponse, PasswordChangeResponse
Instance Attribute Summary collapse
-
#client_cookie ⇒ Object
Returns the value of attribute client_cookie.
-
#transaction_identifier ⇒ Object
Returns the value of attribute transaction_identifier.
Attributes inherited from Response
Instance Method Summary collapse
Instance Attribute Details
#client_cookie ⇒ Object
Returns the value of attribute client_cookie.
75 76 77 |
# File 'lib/ofx/message_set.rb', line 75 def @client_cookie end |
#transaction_identifier ⇒ Object
Returns the value of attribute transaction_identifier.
74 75 76 |
# File 'lib/ofx/message_set.rb', line 74 def transaction_identifier @transaction_identifier end |
Instance Method Details
#ofx_102_response_body ⇒ Object
161 162 163 |
# File 'lib/ofx/1.0.2/message_set.rb', line 161 def ofx_102_response_body raise NotImplementedError end |
#to_ofx_102_s ⇒ Object
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/ofx/1.0.2/message_set.rb', line 144 def to_ofx_102_s response = '' response += " <#{ofx_102_name}TRNRS>\n" response += " <TRNUID>#{transaction_identifier}\n" response += " <CLTCOOKIE>#{}\n" if response += " <#{ofx_102_name}RS>\n" response += ofx_102_response_body + "\n" response += " </#{ofx_102_name}RS>\n" response += " </#{ofx_102_name}TRNRS>" response end |