# File lib/grape/formatter/xml.rb, line 5 def call(object, env) return object.to_xml if object.respond_to?(:to_xml) raise Grape::Exceptions::InvalidFormatter.new(object.class, 'xml') end
[Validate]
Generated with the Darkfish Rdoc Generator 2.