Module: Intercom::GenericHandlers::TagFindAll

Included in:
Tag
Defined in:
lib/intercom/generic_handlers/tag_find_all.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.handles_method?(method_sym) ⇒ Boolean

Returns:

  • (Boolean)


38
39
40
# File 'lib/intercom/generic_handlers/tag_find_all.rb', line 38

def self.handles_method?(method_sym)
  method_sym.to_s.start_with? 'find_all_for_'
end

.included(base) ⇒ Object



42
43
44
# File 'lib/intercom/generic_handlers/tag_find_all.rb', line 42

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