Class: AdvancedBilling::ListSubscriptionGroupPrepaymentDateField

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

Overview

List Subscription Group Prepayment Date Field.

Constant Summary collapse

LIST_SUBSCRIPTION_GROUP_PREPAYMENT_DATE_FIELD =
[
  # TODO: Write general description for CREATED_AT

  CREATED_AT = 'created_at'.freeze,

  # TODO: Write general description for APPLICATION_AT

  APPLICATION_AT = 'application_at'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



17
18
19
20
21
# File 'lib/advanced_billing/models/list_subscription_group_prepayment_date_field.rb', line 17

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

  LIST_SUBSCRIPTION_GROUP_PREPAYMENT_DATE_FIELD.include?(value)
end