Method: Verizon::OauthProviderException#initialize
- Defined in:
- lib/verizon/exceptions/oauth_provider_exception.rb
#initialize(reason, response) ⇒ OauthProviderException
The constructor.
32 33 34 35 36 |
# File 'lib/verizon/exceptions/oauth_provider_exception.rb', line 32 def initialize(reason, response) super(reason, response) hash = APIHelper.json_deserialize(@response.raw_body) unbox(hash) end |