No Reference Object
def self.skip?(calfresh_application)
!calfresh_application.multi_county_zip?
end
def self.skip?(calfresh_application)
calfresh_application.in_supported_county?
end
def self.skip?(_)
true
end
def self.skip?(_)
true
end
def self.skip?(_)
true
end
def self.skip?(calfresh_application)
calfresh_application.ssa_assisted?
end
def self.skip?(_calfresh_application)
ENV['DEMO_MODE'] != 'true'
end
def self.skip?(calfresh_application)
!calfresh_application.ssi || calfresh_application.household_size == 1
end
def self.skip?(calfresh_application)
calfresh_application.ssi?
end
def self.skip?(calfresh_application)
calfresh_application.ssi_only_household?
end
def self.skip?(calfresh_application)
!calfresh_application.household_includes_noncitizen
end
def self.skip?(calfresh_application)
calfresh_application.ssi_only_household?
end
def self.skip?(calfresh_application)
eligible_household_size = calfresh_application.eligible_household_size || calfresh_application.household_size || 0
!calfresh_application.student? || eligible_household_size == 1 || calfresh_application.ssi?
end
def self.skip?(calfresh_application)
!calfresh_application.single_student_household?
end
def self.skip?(calfresh_application)
!calfresh_application.single_student_household?
end
def self.skip?(calfresh_application)
calfresh_application.ssi?
end
def self.skip?(calfresh_application)
!calfresh_application.ssi
end
def self.skip?(calfresh_application)
!calfresh_application.has_earned_income?
end
def self.skip?(calfresh_application)
!calfresh_application.has_earned_income? || VanityDispatcher.get_treatment_group(experiment_id: :multiple_jobs_experiment, vanity_id: calfresh_application.vanity_id) != :multiple_jobs
end
def self.skip?(calfresh_application)
not_in_treatment = VanityDispatcher.get_treatment_group(experiment_id: :multiple_jobs_experiment, vanity_id: calfresh_application.vanity_id) != :multiple_jobs
not_in_treatment || !calfresh_application.has_earned_income? || calfresh_application.household_size == 1
end
def self.skip?(calfresh_application)
not_in_treatment = VanityDispatcher.get_treatment_group(experiment_id: :multiple_jobs_experiment, vanity_id: calfresh_application.vanity_id) != :multiple_jobs
not_in_treatment || !calfresh_application.has_earned_income?
end
def self.skip?(calfresh_application)
not_in_treatment = VanityDispatcher.get_treatment_group(experiment_id: :multiple_jobs_experiment, vanity_id: calfresh_application.vanity_id) != :multiple_jobs
!calfresh_application.has_earned_income? || not_in_treatment
end
def self.skip?(calfresh_application)
not_in_treatment = VanityDispatcher.get_treatment_group(experiment_id: :multiple_jobs_experiment, vanity_id: calfresh_application.vanity_id) != :multiple_jobs
!calfresh_application.has_earned_income? || not_in_treatment
end
def self.skip?(calfresh_application)
not_in_treatment = VanityDispatcher.get_treatment_group(experiment_id: :multiple_jobs_experiment, vanity_id: calfresh_application.vanity_id) != :multiple_jobs
!calfresh_application.has_earned_income? || not_in_treatment
end
def self.skip?(calfresh_application)
return true unless Flipper.enabled?(:variable_pays_shown)
return true unless calfresh_application.number_of_jobs == 1
!calfresh_application.has_job? && !calfresh_application.self_employed?
end
def self.skip?(calfresh_application)
return true if VanityDispatcher.get_treatment_group(experiment_id: :multiple_jobs_experiment, vanity_id: calfresh_application.vanity_id) == :multiple_jobs
!calfresh_application.has_earned_income? || calfresh_application.number_of_jobs != 1
end
def self.skip?(calfresh_application)
return true if VanityDispatcher.get_treatment_group(experiment_id: :multiple_jobs_experiment, vanity_id: calfresh_application.vanity_id) == :multiple_jobs
return true unless calfresh_application.has_earned_income?
calfresh_application.exact_earned_income_amount.present? || calfresh_application.hourly_wage.present?
end
def self.skip?(calfresh_application)
return true if VanityDispatcher.get_treatment_group(experiment_id: :multiple_jobs_experiment, vanity_id: calfresh_application.vanity_id) == :multiple_jobs
!calfresh_application.has_earned_income? || calfresh_application.number_of_jobs.nil?
end
def self.skip?(calfresh_application)
!calfresh_application.has_unemployment_benefits?
end
def self.skip?(calfresh_application)
!calfresh_application.has_non_job_income
end
def self.skip?(calfresh_application)
!calfresh_application.child_support?
end
def self.skip?(calfresh_application)
calfresh_application.ssi? && calfresh_application.ssi_only_household?
end
def self.skip?(calfresh_application)
calfresh_application.ssi? && (calfresh_application.household_size == calfresh_application.ssi_household_size)
end
def self.skip?(calfresh_application)
!calfresh_application.dependent_care_expense?
end
def self.skip?(calfresh_application)
!calfresh_application.elderly_or_disabled_or_ssi?
end
def self.skip?(calfresh_application)
!calfresh_application.medical_expense?
end
def self.skip?(calfresh_application)
calfresh_application.money_on_hand_limit.nil?
end
def self.skip?(calfresh_application)
!calfresh_application.living_situation_requires_street_address?
end
def self.skip?(calfresh_application)
calfresh_application.living_situation_requires_street_address?
end
def self.skip?(calfresh_application)
!calfresh_application.county_is_ambiguous? || !calfresh_application.living_situation_requires_street_address?
end
def self.skip?(calfresh_application)
calfresh_application.living_situation_requires_street_address? || !calfresh_application.county_is_ambiguous?
end
def self.skip?(calfresh_application)
calfresh_application.living_situation_requires_street_address?
end
def self.skip?(calfresh_application)
return true if calfresh_application.living_situation_requires_street_address?
County.mailing_address_required.exclude?(calfresh_application.county_name)
end
def self.skip?(calfresh_application)
return true unless Households::GeneralDeliveryGuidancesController.skip?(calfresh_application)
calfresh_application.reload.current_address.try(:mailing)
end
def self.skip?(calfresh_application)
calfresh_application.additional_members.none?
end
def self.skip?(calfresh_application)
calfresh_application.additional_members.none?
end
def self.skip?(calfresh_application)
calfresh_application.ssa_assisted?
end
def self.skip?(calfresh_application)
calfresh_application.minimal?
end
def self.skip?(calfresh_application)
calfresh_application.designated_helper.blank?
end
def self.skip?(calfresh_application)
helper = calfresh_application.designated_helper
helper.blank? || helper.authorized_representative? || helper.spend_benefits?
end
def self.skip?(calfresh_application)
helper = calfresh_application.designated_helper
helper.blank? || !helper.needs_contact_information?
end
def self.skip?(calfresh_application)
calfresh_application.cbo.blank? || calfresh_application.ssa_assisted?
end
def self.skip?(calfresh_application)
DocumentsController.ensure_document_questions!(calfresh_application)
calfresh_application.ssa_assisted? || calfresh_application.document_questions.document_types_from_questions.empty?
end
def self.skip?(calfresh_application)
ensure_document_questions!(calfresh_application)
calfresh_application.ssa_assisted? || calfresh_application.document_questions.document_types_from_questions.empty?
end
def self.skip?(calfresh_application)
if calfresh_application.minimal
true
elsif calfresh_application.source == 'ssa'
true
elsif calfresh_application.household_includes_noncitizen && calfresh_application.household_size == 1
true
end
end
def self.skip?(calfresh_application)
return true unless calfresh_application.has_earned_income?
return true unless calfresh_application.number_of_jobs == 1
calfresh_application.estimated_earned_income_amount.present? || calfresh_application.exact_earned_income_amount.present?
end