Skip to content

Adding options to receive 401, 403, 503, etc.. with true/false optional #84

@davidcsi

Description

@davidcsi

It would be great if we had the ability to to things like:

  • receive_403
  • receive_401 optional

etc... for all possible response status.

I tried doing it by adding:

#
def receive_401(opts = {})
    handle_response 401, opts
end

And this actually works, but always with optional="true", and I can't figure out how to set it to that (I don't know anything about Ruby)

Thanks!

David

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