components/financial_assistance/app/domain/financial_assistance/operations/applications/transformers/application_to/cv3_application.rb
# rubocop:disable Metrics/ClassLength
# constructs cv3 payload for medicaid gateway.
disable Metrics/ClassLength
constructs cv3 payload for medicaid gateway.
disable Metrics / ClassLength constructs cv3 payload for medicaid gateway .
def attestation(applicant)
              return nil unless applicant.is_applying_coverage
              {is_incarcerated: applicant.is_incarcerated.present?,
               is_self_attested_disabled: applicant.is_physically_disabled.present?,
               is_self_attested_blind: applicant.is_self_attested_blind.present?,
               is_self_attested_long_term_care: applicant.is_self_attested_long_term_care.present?}
            end
def attestation ( applicant ) return nil unless applicant . is_applying_coverage { is_incarcerated : applicant . is_incarcerated . present? , is_self_attested_disabled : applicant . is_physically_disabled . present? , is_self_attested_blind : applicant . is_self_attested_blind . present? , is_self_attested_long_term_care : applicant . is_self_attested_long_term_care . present? } end
rubocop:disable Metrics/ClassLength
constructs cv3 payload for medicaid gateway.
rubocop : disable Metrics / ClassLength constructs cv3 payload for medicaid gateway .
# Enroll's UI maps to is_physically_disabled and not is_self_attested_disabled
applicant