Class: AdvancedBilling::ListEventsDateField
- Inherits:
-
Object
- Object
- AdvancedBilling::ListEventsDateField
- Defined in:
- lib/advanced_billing/models/list_events_date_field.rb
Overview
List Events Date Field.
Constant Summary collapse
- LIST_EVENTS_DATE_FIELD =
[ # TODO: Write general description for CREATED_AT CREATED_AT = 'created_at'.freeze ].freeze
Class Method Summary collapse
Class Method Details
.validate(value) ⇒ Object
14 15 16 17 18 |
# File 'lib/advanced_billing/models/list_events_date_field.rb', line 14 def self.validate(value) return false if value.nil? LIST_EVENTS_DATE_FIELD.include?(value) end |