Sha256: baa7f0ec805f17f2618184ed802ba0ef5bf85b02dc365f624e61b02ead5de818

Contents?: true

Size: 195 Bytes

Versions: 27

Compression:

Stored size: 195 Bytes

Contents

Musician = Struct.new(:name)

class SingersController < ActionController::Base
  def show
    singer = Musician.new("Bumi")
    render :text => singer.extend(SingerRepresenter).to_json
  end
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/roar-rails-1.2.0/test/dummy/app/controllers/singers_controller.rb
roar-rails-1.2.0 test/dummy/app/controllers/singers_controller.rb
roar-rails-1.1.0 test/dummy/app/controllers/singers_controller.rb
roar-rails-1.0.2 test/dummy/app/controllers/singers_controller.rb
roar-rails-1.0.1 test/dummy/app/controllers/singers_controller.rb
roar-rails-1.0.0 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.1.6 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.1.5 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.1.4 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.1.3 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.1.2 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.1.1 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.1.0 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.0.15 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.0.14 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.0.13 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.0.12 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.0.11 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.0.10 test/dummy/app/controllers/singers_controller.rb
roar-rails-0.0.9 test/dummy/app/controllers/singers_controller.rb