noesya/osuny

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

Summary

Maintainability
A
0 mins
Test Coverage
B
80%
class Communication::Block::Component::Person < Communication::Block::Component::Base

  def person
    template.block
            .university
            .people
            .find_by(id: data)
  end

  def dependencies
    [person]
  end

end