Skip to content

Safe navigator for nil responses #232

@kitebuggy

Description

@kitebuggy

Hello,

Seems hardly worth submitting a PR for this one. I've come across instances of a nil response, so would recommend adding a safe navigator to this call, ie:

initialize_from(response&.with_indifferent_access)

initialize_from(response.with_indifferent_access)

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions