Skip to content

Hashie takes issue with "index" on ActionNetwork's entry point #13

Open
@mashedkeyboard

Description

@mashedkeyboard

Hi folks, thanks for this great library!

On running client.entry_point.authenticated_successfully?, you will see the following warning:

You are setting a key that conflicts with a built-in method Hashie::Mash#index defined in Hash. This can cause unexpected behavior when accessing the key as a property. You can still access the key via the #[] method.

This warning is, of course, largely inconsequential, as a result of the fact that the only presence of index as a key is in the docs link. However, it's still a warning, so it might be an idea to try and address it in some way or another. It looks like the only real way of doing that would be switching away from Hashie in Vertebrae, though, so it may be a WONTFIX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions