Class: FormDurations::AllClaimsDuration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Class Method Details

.buildFormDurations::AllClaimsDuration

Builds a FormDurations::AllClaimsDuration instance from given options

Returns:



13
14
15
# File 'app/services/form_durations/all_claims_duration.rb', line 13

def self.build
  new
end

Instance Method Details

#spanActiveSupport::Duration

Gets the All Claims Form’s expiration duration

Returns:

  • (ActiveSupport::Duration)

    1 year



22
23
24
# File 'app/services/form_durations/all_claims_duration.rb', line 22

def span
  1.year
end