Class: Imperium::Testing::MockResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/imperium/testing.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



14
15
16
# File 'lib/imperium/testing.rb', line 14

def content
  @content
end

#headersObject

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



14
15
16
# File 'lib/imperium/testing.rb', line 14

def headers
  @headers
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



14
15
16
# File 'lib/imperium/testing.rb', line 14

def status
  @status
end