Class: FormDurations::AllClaimsDuration
- Inherits:
-
Object
- Object
- FormDurations::AllClaimsDuration
- Defined in:
- app/services/form_durations/all_claims_duration.rb
Overview
A class responsible for knowing about and returning the All Claims Forms 1 year expiration time frame
Class Method Summary collapse
-
.build ⇒ FormDurations::AllClaimsDuration
Builds a FormDurations::AllClaimsDuration instance from given options.
Instance Method Summary collapse
-
#span ⇒ ActiveSupport::Duration
Gets the All Claims Form’s expiration duration.
Class Method Details
.build ⇒ FormDurations::AllClaimsDuration
Builds a FormDurations::AllClaimsDuration instance from given options
13 14 15 |
# File 'app/services/form_durations/all_claims_duration.rb', line 13 def self.build new end |
Instance Method Details
#span ⇒ ActiveSupport::Duration
Gets the All Claims Form’s expiration duration
22 23 24 |
# File 'app/services/form_durations/all_claims_duration.rb', line 22 def span 1.year end |