Should not use SHA1 to generate hashes. There is a proven SHA1 hash collision by Google, which could lead to vulnerabilities. Use SHA256, SHA3 or other hashing functions instead.
self_signature = Digest::SHA1.hexdigest(response.body + Fyber.config.api_key)