2021-07-13 15:08:38 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module ServicePing
|
2022-05-14 00:08:57 +00:00
|
|
|
class PermitDataCategories
|
2021-08-12 18:10:45 +00:00
|
|
|
STANDARD_CATEGORY = 'standard'
|
|
|
|
SUBSCRIPTION_CATEGORY = 'subscription'
|
|
|
|
OPERATIONAL_CATEGORY = 'operational'
|
|
|
|
OPTIONAL_CATEGORY = 'optional'
|
2021-07-13 15:08:38 +00:00
|
|
|
CATEGORIES = [
|
|
|
|
STANDARD_CATEGORY,
|
|
|
|
SUBSCRIPTION_CATEGORY,
|
|
|
|
OPERATIONAL_CATEGORY,
|
|
|
|
OPTIONAL_CATEGORY
|
|
|
|
].to_set.freeze
|
|
|
|
|
|
|
|
def execute
|
|
|
|
CATEGORIES
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2022-05-14 00:08:57 +00:00
|
|
|
ServicePing::PermitDataCategories.prepend_mod_with('ServicePing::PermitDataCategories')
|