Module: MessageTrain::InstanceMethods

Defined in:
lib/message_train/instance_methods.rb

Overview

Included in method when message_train mixin is run

Defined Under Namespace

Modules: GeneralMethods, RecipientMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
# File 'lib/message_train/instance_methods.rb', line 4

def self.included(base)
  base.send :include, InstanceMethods::GeneralMethods
  base.message_train_relationships.include?(:recipient) &&
    base.send(:include, InstanceMethods::RecipientMethods)
end