Module: Intercom::Traits::GenericHandlerBinding

Included in:
Count, Intercom::Tag
Defined in:
lib/intercom/traits/generic_handler_binding.rb

Overview

Allows us to have one class level method missing handler across all entities which can dispatch to the appropriate function based on the method name

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



23
24
25
# File 'lib/intercom/traits/generic_handler_binding.rb', line 23

def self.included(base)
  base.extend(ClassMethods)
end