In the above line @request.method returns a string. But the code is checking for a symbol. Because of this, when signing the request, the MD5 does not get added to the header at all.
Is this a bug or am I missing something here?
I am using api-auth version 2.0.1 and rest-client version 2.0.0 .
https://github.com/mgomes/api_auth/blob/5a1bafe7581b29188cc3487325bcbbdd0237764d/lib/api_auth/request_drivers/rest_client.rb#L32
In the above line
@request.method
returns a string. But the code is checking for a symbol. Because of this, when signing the request, the MD5 does not get added to the header at all.Is this a bug or am I missing something here?
I am using api-auth version 2.0.1 and rest-client version 2.0.0 .