Module: Paperdragon::Model::ClassMethods

Defined in:
lib/paperdragon/model.rb

Instance Method Summary collapse

Instance Method Details

#processable(name, attachment_class = Attachment) ⇒ Object



9
10
11
# File 'lib/paperdragon/model.rb', line 9

def processable(name, attachment_class=Attachment)
  include attachment_accessor_for(name, attachment_class)
end