method

retrieve_collector_from_mimes

retrieve_collector_from_mimes(mimes=nil, &block)
protected

Returns a Collector object containing the appropriate mime-type response for the current request, based on the available responses defined by a block. In typical usage this is the block passed to respond_with or respond_to.

Sends :not_acceptable to the client and returns nil if no suitable format is available.