lib/raas/exceptions/raas_generic_exception.rb
def unbox(hash)
      @timestamp = APIHelper.rfc3339(hash['timestamp']) if hash['timestamp']
      @request_id = hash['requestId']
      @path = hash['path']
      @http_code = hash['httpCode']
      @http_phrase = hash['httpPhrase']
      @message = hash['message']
    end
# Populates this object by extracting properties from a hash.
# @param [Hash] The deserialized response sent by the server in the
# response body.

Populates this object by extracting properties from a hash.
Populates this object by extracting properties from a hash .
def unbox(hash)
      @timestamp = APIHelper.rfc3339(hash['timestamp']) if hash['timestamp']
      @request_id = hash['requestId']
      @path = hash['path']
      @http_code = hash['httpCode']
      @http_phrase = hash['httpPhrase']
      @message = hash['message']
    end
def unbox ( hash ) @timestamp = APIHelper . rfc3339 ( hash [ 'timestamp' ] ) if hash [ 'timestamp' ] @request_id = hash [ 'requestId' ] @path = hash [ 'path' ] @http_code = hash [ 'httpCode' ] @http_phrase = hash [ 'httpPhrase' ] @message = hash [ 'message' ] end
Populates this object by extracting properties from a hash.
Populates this object by extracting properties from a hash .
hash
The deserialized response sent by the server in the response body.
The deserialized response sent by the server in the response body .