Shopify / oktakit

Ruby toolkit for working with the Okta API
https://rubygems.org/gems/oktakit
MIT License
69 stars 60 forks source link

Make Oktakit::Response::RaiseError#on_complete public #49

Closed ltk closed 2 years ago

ltk commented 2 years ago

A respond_to? guard clause in Faraday::Middleware prevents this callback from ever executing when the method is private, which was causing test failures.

See https://github.com/lostisland/faraday/blob/main/lib/faraday/middleware.rb#L18