class RenderersApiController::Model
Public Instance Methods
to_json(options = {})
click to toggle source
# File actionpack/test/controller/api/renderers_test.rb, line 8 def to_json(options = {}) { a: "b" }.to_json(options) end
to_xml(options = {})
click to toggle source
# File actionpack/test/controller/api/renderers_test.rb, line 12 def to_xml(options = {}) { a: "b" }.to_xml(options) end