Method: Verizon::IntelligenceResultException#initialize

Defined in:
lib/verizon/exceptions/intelligence_result_exception.rb

#initialize(reason, response) ⇒ IntelligenceResultException

The constructor.



23
24
25
26
27
# File 'lib/verizon/exceptions/intelligence_result_exception.rb', line 23

def initialize(reason, response)
  super(reason, response)
  hash = APIHelper.json_deserialize(@response.raw_body)
  unbox(hash)
end