method
api_behavior
rails latest stable - Class:
ActionController::Responder
api_behavior(error)protected
This is the common behavior for formats associated with APIs, such as :xml and :json.
api_behavior(error)This is the common behavior for formats associated with APIs, such as :xml and :json.