Ruby code style fixes
Return API response information from adapters