Class: AdvancedBilling::AutoInvite
- Inherits:
-
Object
- Object
- AdvancedBilling::AutoInvite
- Defined in:
- lib/advanced_billing/models/auto_invite.rb
Overview
Auto Invite.
Constant Summary collapse
- AUTO_INVITE =
[ # Do not send the invitation email. NO = 0, # Automatically send the invitation email. YES = 1 ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
17 18 19 20 21 |
# File 'lib/advanced_billing/models/auto_invite.rb', line 17 def self.validate(value) return false if value.nil? AUTO_INVITE.include?(value) end |