Skip to content

Add method fetch for Hyperclient::Resource #89

@alabeduarte

Description

@alabeduarte

Hi all,

Sometimes I use the Hyperclient::Resource#[] as a hash, but I would like to avoid if statements when the attribute does not exist for some reason.

Did you consider implement the method fetch with similar behaviour of Hash#fetch in ruby?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions