Class: AdvancedBilling::CreateSignupProformaPreviewInclude

Inherits:
Object
  • Object
show all
Defined in:
lib/advanced_billing/models/create_signup_proforma_preview_include.rb

Overview

Create Signup Proforma Preview Include.

Constant Summary collapse

CREATE_SIGNUP_PROFORMA_PREVIEW_INCLUDE =
[
  # TODO: Write general description for NEXT_PROFORMA_INVOICE
  NEXT_PROFORMA_INVOICE = 'next_proforma_invoice'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



14
15
16
17
18
# File 'lib/advanced_billing/models/create_signup_proforma_preview_include.rb', line 14

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

  CREATE_SIGNUP_PROFORMA_PREVIEW_INCLUDE.include?(value)
end