class Hatty::Testing::Response

Defined in:

hatty/testing/response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(request : HTTP::Client::Response) #

[View source]

Instance Method Detail

def body : String #

[View source]
def headers #

[View source]
def json(mappings) #

[View source]
def json : JSON::Any? #

[View source]
def json? : Bool #

[View source]
def original : HTTP::Client::Response #

[View source]
def status_code #

[View source]