osunyorg/admin

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

Summary

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

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

  def full_text
    data
  end

end