Method: AdvancedBilling::ProformaInvoiceStatus.validate

Defined in:
lib/advanced_billing/models/proforma_invoice_status.rb

.validate(value) ⇒ Object



20
21
22
23
24
# File 'lib/advanced_billing/models/proforma_invoice_status.rb', line 20

def self.validate(value)
  return false if value.nil?

  PROFORMA_INVOICE_STATUS.include?(value)
end