Module: ChartMogul::Enrichment

Defined in:
lib/chartmogul/enrichment/customer.rb

Defined Under Namespace

Classes: Customers, DeprecatedCustomer

Class Method Summary collapse

Class Method Details

.const_missing(const_name) ⇒ Object



110
111
112
113
114
# File 'lib/chartmogul/enrichment/customer.rb', line 110

def self.const_missing(const_name)
  super unless const_name == :Customer
  warn 'DEPRECATION WARNING: the class ChartMogul::Enrichment::Customer is deprecated. Use ChartMogul::Customer instead.'
  DeprecatedCustomer
end