This repository was archived by the owner on Dec 11, 2023. It is now read-only.
This repository was archived by the owner on Dec 11, 2023. It is now read-only.
Fetch response is case insensitive #95
Open
Description
If possible, it would be nice to treat the key strings in the fetch response as case insensitive.
The following query will return data for the source "bLaH", but given the API downcases the source names, the hash lookup would then break:
Librato::Metrics.fetch(metric_name, :count => count, :source => "bLaH")["bLaH"]
Maybe a Hash override that downcased key values before lookup?
Activity