Class: AchClient::CorrectedAchResponse
- Inherits:
-
ReturnedAchResponse
- Object
- AchResponse
- ReturnedAchResponse
- AchClient::CorrectedAchResponse
- Defined in:
- lib/ach_client/objects/responses/corrected_ach_response.rb
Overview
Representation of an Ach return that contains a correction
Instance Attribute Summary collapse
-
#corrections ⇒ Object
readonly
Returns the value of attribute corrections.
Attributes inherited from ReturnedAchResponse
Attributes inherited from AchResponse
Instance Method Summary collapse
-
#initialize(amount:, date:, return_code:, corrections:) ⇒ CorrectedAchResponse
constructor
correction (ie AchClient::ReturnCodes.find_by(code: ‘C01’)).
Constructor Details
#initialize(amount:, date:, return_code:, corrections:) ⇒ CorrectedAchResponse
correction (ie AchClient::ReturnCodes.find_by(code: ‘C01’))
13 14 15 16 |
# File 'lib/ach_client/objects/responses/corrected_ach_response.rb', line 13 def initialize(amount:, date:, return_code:, corrections:) @corrections = corrections super(amount: amount, date: date, return_code: return_code) end |
Instance Attribute Details
#corrections ⇒ Object (readonly)
Returns the value of attribute corrections.
6 7 8 |
# File 'lib/ach_client/objects/responses/corrected_ach_response.rb', line 6 def corrections @corrections end |