module NameEntity::Quality
def billable_status_is_valid
def billable_status_is_valid if billable_status unless %w(Billable NotBillable HasBeenBilled).include?(billable_status) errors.add(:posting_type, "Posting Type must be either 'Debit' or 'Credit'") end end end