Class: AdvancedBilling::SubscriptionGroupInclude

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

Overview

Subscription Group Include.

Constant Summary collapse

SUBSCRIPTION_GROUP_INCLUDE =
[
  # TODO: Write general description for CURRENT_BILLING_AMOUNT_IN_CENTS
  CURRENT_BILLING_AMOUNT_IN_CENTS = 'current_billing_amount_in_cents'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  SUBSCRIPTION_GROUP_INCLUDE.include?(value)
end