Class: Crspec::Rails::RequestHelpers::ResponseStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/crspec/rails/request_helpers.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



21
22
23
# File 'lib/crspec/rails/request_helpers.rb', line 21

def body
  @body
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



21
22
23
# File 'lib/crspec/rails/request_helpers.rb', line 21

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



21
22
23
# File 'lib/crspec/rails/request_helpers.rb', line 21

def status
  @status
end