Module: Warped::Emails::Slottable

Included in:
Base
Defined in:
lib/warped/emails/slottable.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
# File 'lib/warped/emails/slottable.rb', line 6

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

Instance Method Details

#slotsObject



56
57
58
# File 'lib/warped/emails/slottable.rb', line 56

def slots
  @slots ||= { one: {}, many: {} }
end