Sha256: d06a6ff72a156f40a5b82fe0c42bbe627ec0f7f577dd5150087acfac16a95492

Contents?: true

Size: 228 Bytes

Versions: 16

Compression:

Stored size: 228 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

16 entries across 16 versions & 1 rubygems

Version Path
houston-core-0.7.0 app/presenters/tester_presenter.rb
houston-core-0.7.0.beta4 app/presenters/tester_presenter.rb
houston-core-0.7.0.beta3 app/presenters/tester_presenter.rb
houston-core-0.7.0.beta2 app/presenters/tester_presenter.rb
houston-core-0.7.0.beta app/presenters/tester_presenter.rb
houston-core-0.6.3 app/presenters/tester_presenter.rb
houston-core-0.6.2 app/presenters/tester_presenter.rb
houston-core-0.6.1 app/presenters/tester_presenter.rb
houston-core-0.6.0 app/presenters/tester_presenter.rb
houston-core-0.5.6 app/presenters/tester_presenter.rb
houston-core-0.5.5 app/presenters/tester_presenter.rb
houston-core-0.5.4 app/presenters/tester_presenter.rb
houston-core-0.5.3 app/presenters/tester_presenter.rb
houston-core-0.5.2 app/presenters/tester_presenter.rb
houston-core-0.5.1 app/presenters/tester_presenter.rb
houston-core-0.5.0 app/presenters/tester_presenter.rb