Sha256: 7604fc0418d6582fe15da7a5741e202b94dc081c0e9aec0ed39dccc7c844c235
Contents?: true
Size: 234 Bytes
Versions: 1
Compression:
Stored size: 234 Bytes
Contents
class TesterPresenter def initialize(testers) @testers = testers end def as_json(*args) @testers.map do |tester| { id: tester.id, name: tester.name, email: tester.email } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
houston-core-0.5.0.beta1 | app/presenters/tester_presenter.rb |