module Drafter::ClassMethods
Public Instance Methods
draftable(options={})
click to toggle source
# File lib/drafter.rb, line 33 def draftable(options={}) include Apply include Creation include Diffing include Draftable include IdHash include Subdrafts end
saves_subdrafts_for(*associations)
click to toggle source
# File lib/drafter.rb, line 42 def saves_subdrafts_for(*associations) cattr_accessor :saves_subdrafts_for self.saves_subdrafts_for = associations end