Class: NexaasID::Client::ExceptionWrapper
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- NexaasID::Client::ExceptionWrapper
- Defined in:
- lib/nexaas_id/client/exception_wrapper.rb
Overview
Delegator class which intercepts exceptions raised by OAuth::AccessToken methods and wraps them in [NexaasID::Client::Exception] exceptions.
- API
-
Documentation:
Instance Method Summary collapse
Instance Method Details
#refresh(*args) ⇒ Object
8 9 10 |
# File 'lib/nexaas_id/client/exception_wrapper.rb', line 8 def refresh(*args) call_with_rescue { super } end |
#request(*args, &block) ⇒ Object
12 13 14 |
# File 'lib/nexaas_id/client/exception_wrapper.rb', line 12 def request(*args, &block) call_with_rescue { super } end |