Class: AdvancedBilling::ListProductsPricePointsInclude

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

Overview

List Products Price Points Include.

Constant Summary collapse

LIST_PRODUCTS_PRICE_POINTS_INCLUDE =
[
  # TODO: Write general description for CURRENCY_PRICES
  CURRENCY_PRICES = 'currency_prices'.freeze
].freeze

Class Method Summary collapse

Class Method Details

.validate(value) ⇒ Object



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

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

  LIST_PRODUCTS_PRICE_POINTS_INCLUDE.include?(value)
end