Method: Radiator::ErrorParser#initialize
- Defined in:
- lib/radiator/error_parser.rb
permalink #initialize(response) ⇒ ErrorParser
Returns a new instance of ErrorParser.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/radiator/error_parser.rb', line 23 def initialize(response) @response = response @error = nil @error_code = nil @error_message = nil @api_name = nil @api_method = nil @api_params = nil @expiry = nil @can_retry = nil @can_reprepare = nil @trx_id = nil @debug = nil parse_error_response end |