osunyorg/admin

View on GitHub
app/models/communication/block/component/text.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Communication::Block::Component::Text < Communication::Block::Component::Base

  def data=(value)
    @data = Osuny::Sanitizer.sanitize value, 'text'
  end

  def full_text
    data
  end

end