Sha256: 73020449bccef30cae57735ee35446ce7ec206a3fe1f24acba26aca6f279a08f
Contents?: true
Size: 299 Bytes
Versions: 2
Compression:
Stored size: 299 Bytes
Contents
module ContentState class Spam < Base include Reloadable include Singleton def enter_hook(content) super content[:published] = false end def is_spam?(content) true end def to_s 'Spam' end def mark_as_spam(content) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typo-4.0.1 | app/models/content_state/spam.rb |
typo-4.0.2 | app/models/content_state/spam.rb |