Sha256: 63cabef04c2f1434deb208df92df6aedd2dc68213e0d3170ac3996d73c015ca2
Contents?: true
Size: 255 Bytes
Versions: 4
Compression:
Stored size: 255 Bytes
Contents
require_relative '../../../../lib/hanami_example' module Web::Controllers::Artists class Index include Web::Action def call(params) @artists = ArtistRepository.new.reduce(params).to_a self.body = @artists.to_json end end end
Version data entries
4 entries across 4 versions & 1 rubygems