Class: AdvancedBilling::SubscriptionInclude
- Inherits:
-
Object
- Object
- AdvancedBilling::SubscriptionInclude
- Defined in:
- lib/advanced_billing/models/subscription_include.rb
Overview
Subscription Include.
Constant Summary collapse
- SUBSCRIPTION_INCLUDE =
[ # TODO: Write general description for COUPONS COUPONS = 'coupons'.freeze, # TODO: Write general description for SELF_SERVICE_PAGE_TOKEN SELF_SERVICE_PAGE_TOKEN = 'self_service_page_token'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
17 18 19 20 21 |
# File 'lib/advanced_billing/models/subscription_include.rb', line 17 def self.validate(value) return false if value.nil? SUBSCRIPTION_INCLUDE.include?(value) end |