Module: FanartTv::BaseModel

Included in:
Album, Artist, Photo
Defined in:
lib/fanart_tv/models/base_model.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



3
4
5
6
# File 'lib/fanart_tv/models/base_model.rb', line 3

def self.included(klass)
  klass.send(:include, InstanceMethods)
  klass.send(:extend, ClassMethods)
end