class MetalRenderingJsonController

Public Instance Methods

one() click to toggle source
# File actionpack/test/controller/metal/renderers_test.rb, line 25
def one
  render json: Model.new
end
two() click to toggle source
# File actionpack/test/controller/metal/renderers_test.rb, line 29
def two
  render xml: Model.new
end