Class: ACH::NextFederalReserveEffectiveDate
- Inherits:
-
Object
- Object
- ACH::NextFederalReserveEffectiveDate
- Defined in:
- lib/ach/next_federal_reserve_effective_date.rb
Instance Method Summary collapse
-
#initialize(submission_date) ⇒ NextFederalReserveEffectiveDate
constructor
A new instance of NextFederalReserveEffectiveDate.
- #result ⇒ Object
Constructor Details
#initialize(submission_date) ⇒ NextFederalReserveEffectiveDate
Returns a new instance of NextFederalReserveEffectiveDate.
5 6 7 |
# File 'lib/ach/next_federal_reserve_effective_date.rb', line 5 def initialize(submission_date) @submission_date = submission_date end |
Instance Method Details
#result ⇒ Object
9 10 11 12 13 14 |
# File 'lib/ach/next_federal_reserve_effective_date.rb', line 9 def result @result = @submission_date advance_to_next_business_day advance_extra_day_if_submission_date_is_holiday_or_weekend @result end |