Class: AdvancedBilling::SubscriptionPurgeType
- Inherits:
-
Object
- Object
- AdvancedBilling::SubscriptionPurgeType
- Defined in:
- lib/advanced_billing/models/subscription_purge_type.rb
Overview
Subscription Purge Type.
Constant Summary collapse
- SUBSCRIPTION_PURGE_TYPE =
[ # TODO: Write general description for CUSTOMER CUSTOMER = 'customer'.freeze, # TODO: Write general description for PAYMENT_PROFILE PAYMENT_PROFILE = 'payment_profile'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
17 18 19 20 21 |
# File 'lib/advanced_billing/models/subscription_purge_type.rb', line 17 def self.validate(value) return false if value.nil? SUBSCRIPTION_PURGE_TYPE.include?(value) end |