Skip to content
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
@mheffner

Description

@mheffner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions