components/financial_assistance/app/domain/financial_assistance/operations/applications/transformers/application_to/cv3_application.rb
def demographic(applicant)
              {gender: applicant.gender.capitalize,
               dob: applicant.dob,
               ethnicity: applicant.is_applying_coverage ? applicant.ethnicity : [],
               race: applicant.is_applying_coverage ? applicant.race : nil,
               is_veteran_or_active_military: applicant.is_veteran.present?,
               is_vets_spouse_or_child: applicant.is_vets_spouse_or_child.present?}
            end
# 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 demographic(applicant)
              {gender: applicant.gender.capitalize,
               dob: applicant.dob,
               ethnicity: applicant.is_applying_coverage ? applicant.ethnicity : [],
               race: applicant.is_applying_coverage ? applicant.race : nil,
               is_veteran_or_active_military: applicant.is_veteran.present?,
               is_vets_spouse_or_child: applicant.is_vets_spouse_or_child.present?}
            end
def demographic ( applicant ) { gender : applicant . gender . capitalize , dob : applicant . dob , ethnicity : applicant . is_applying_coverage ? applicant . ethnicity : [ ] , race : applicant . is_applying_coverage ? applicant . race : nil , is_veteran_or_active_military : applicant . is_veteran . present? , is_vets_spouse_or_child : applicant . is_vets_spouse_or_child . present? } end
rubocop:disable Metrics/ClassLength
constructs cv3 payload for medicaid gateway.
rubocop : disable Metrics / ClassLength constructs cv3 payload for medicaid gateway .
applicant