Sha256: 9c4649c5a56a7b10aa1408067a3bb93ad1df88440bd295b4c52cf1380dfa0d5e

Contents?: true

Size: 200 Bytes

Versions: 14

Compression:

Stored size: 200 Bytes

Contents

Band = Struct.new(:name)

class BandsController < ActionController::Base
  include Roar::Rails::ControllerAdditions
  represents :json, Band

  def show
    respond_with Band.new("Bodyjar")
  end
end

Version data entries

14 entries across 14 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/bands_controller.rb
roar-rails-1.2.0 test/dummy/app/controllers/bands_controller.rb
roar-rails-1.1.0 test/dummy/app/controllers/bands_controller.rb
roar-rails-1.0.2 test/dummy/app/controllers/bands_controller.rb
roar-rails-1.0.1 test/dummy/app/controllers/bands_controller.rb
roar-rails-1.0.0 test/dummy/app/controllers/bands_controller.rb
roar-rails-0.1.6 test/dummy/app/controllers/bands_controller.rb
roar-rails-0.1.5 test/dummy/app/controllers/bands_controller.rb
roar-rails-0.1.4 test/dummy/app/controllers/bands_controller.rb
roar-rails-0.1.3 test/dummy/app/controllers/bands_controller.rb
roar-rails-0.1.2 test/dummy/app/controllers/bands_controller.rb
roar-rails-0.1.1 test/dummy/app/controllers/bands_controller.rb
roar-rails-0.1.0 test/dummy/app/controllers/bands_controller.rb
roar-rails-0.0.15 test/dummy/app/controllers/bands_controller.rb