Module: SubjModels::RecipeModule

Defined in:
lib/subj_models/recipe.rb

Class Method Summary collapse

Class Method Details

.included(including_class) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
# File 'lib/subj_models/recipe.rb', line 7

def self.included(including_class)

  including_class.class_eval do

    include SubjModels::ComprisingExternalId

    belongs_to :sender, class: 'User'

  end

end