Module: Dawanda::Model

Included in:
Category, Channel, Color, Pinboard, Product, Shop, ShopCategory, User
Defined in:
lib/dawanda/model.rb

Overview

:nodoc:all

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(other) ⇒ Object



97
98
99
100
# File 'lib/dawanda/model.rb', line 97

def self.included(other)
  other.send(:extend, Dawanda::Model::ClassMethods)
  other.send(:include, Dawanda::Model::InstanceMethods)
end