Module: HasModerated::Preview::FakeRecord

Defined in:
lib/has_moderated/moderation_preview.rb

Instance Method Summary collapse

Instance Method Details

#fake!(based_on_model, based_on_moderation) ⇒ Object



24
25
26
27
28
# File 'lib/has_moderated/moderation_preview.rb', line 24

def fake!(based_on_model, based_on_moderation)
  @based_on_model = based_on_model
  @based_on_moderation = based_on_moderation
  freeze
end