Class: OFX::Data::Banking::Statement::Transaction::Response
- Inherits:
-
Object
- Object
- OFX::Data::Banking::Statement::Transaction::Response
- Defined in:
- lib/ofx/data/banking/statement/transaction.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#trnuid ⇒ Object
readonly
Returns the value of attribute trnuid.
Instance Method Summary collapse
-
#initialize(opts) ⇒ Response
constructor
A new instance of Response.
- #ofx_type ⇒ Object
Constructor Details
#initialize(opts) ⇒ Response
Returns a new instance of Response.
9 10 11 12 13 |
# File 'lib/ofx/data/banking/statement/transaction.rb', line 9 def initialize(opts) @trnuid = opts.fetch(:trnuid) @status = opts.fetch(:status) @response = opts.fetch(:response) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
7 8 9 |
# File 'lib/ofx/data/banking/statement/transaction.rb', line 7 def response @response end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
7 8 9 |
# File 'lib/ofx/data/banking/statement/transaction.rb', line 7 def status @status end |
#trnuid ⇒ Object (readonly)
Returns the value of attribute trnuid.
7 8 9 |
# File 'lib/ofx/data/banking/statement/transaction.rb', line 7 def trnuid @trnuid end |
Instance Method Details
#ofx_type ⇒ Object
15 16 17 |
# File 'lib/ofx/data/banking/statement/transaction.rb', line 15 def ofx_type :"banking.statement.transaction.response" end |