method

api_behavior

api_behavior(error)
protected

This is the common behavior for formats associated with APIs, such as :xml and :json.