Module: HowAreWeDoing::ActsAsPrintable::ClassMethods

Defined in:
lib/how_are_we_doing/acts_as_printable.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_printableObject



9
10
11
12
13
14
# File 'lib/how_are_we_doing/acts_as_printable.rb', line 9

def acts_as_printable
  has_many :prints, :as => :printable, :dependent => :nullify

  include HowAreWeDoing::ActsAsPrintable::InstanceMethods
  extend  HowAreWeDoing::ActsAsPrintable::SingletonMethods
end