Namespace
Methods
O
P
T
Instance Public methods
one()
# File actionpack/test/controller/api/renderers_test.rb, line 15
def one
  render json: Model.new
end
plain()
# File actionpack/test/controller/api/renderers_test.rb, line 23
def plain
  render plain: 'Hi from plain', status: 500
end
text()
# File actionpack/test/controller/api/renderers_test.rb, line 27
def text
  render text: 'Hi from text', status: 500
end
two()
# File actionpack/test/controller/api/renderers_test.rb, line 19
def two
  render xml: Model.new
end