method

new

new(status, string)
public

Creates a new instance of the Response class and sets the status and string attributes