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 medicaid_and_chip(applicant)
              return unless applicant.is_applying_coverage
              {not_eligible_in_last_90_days: applicant.has_eligible_medicaid_cubcare.present?,
               denied_on: applicant.medicaid_cubcare_due_on,
               ended_as_change_in_eligibility: applicant.has_eligibility_changed.present?,
               hh_income_or_size_changed: applicant.has_household_income_changed.present?,
               medicaid_or_chip_coverage_end_date: applicant.person_coverage_end_on,
               ineligible_due_to_immigration_in_last_5_years: applicant.medicaid_chip_ineligible.present?,
               immigration_status_changed_since_ineligibility: applicant.immigration_status_changed.present?}
            end
def medicaid_and_chip ( applicant ) return unless applicant . is_applying_coverage { not_eligible_in_last_90_days : applicant . has_eligible_medicaid_cubcare . present? , denied_on : applicant . medicaid_cubcare_due_on , ended_as_change_in_eligibility : applicant . has_eligibility_changed . present? , hh_income_or_size_changed : applicant . has_household_income_changed . present? , medicaid_or_chip_coverage_end_date : applicant . person_coverage_end_on , ineligible_due_to_immigration_in_last_5_years : applicant . medicaid_chip_ineligible . present? , immigration_status_changed_since_ineligibility : applicant . immigration_status_changed . present? } end
rubocop:disable Metrics/ClassLength
constructs cv3 payload for medicaid gateway.
rubocop : disable Metrics / ClassLength constructs cv3 payload for medicaid gateway .
applicant