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