Class: Tipsy::Runners::Compiler::MockResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/tipsy/runners/compiler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMockResponse

Returns a new instance of MockResponse.



169
170
171
# File 'lib/tipsy/runners/compiler.rb', line 169

def initialize
  @headers = {}
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



168
169
170
# File 'lib/tipsy/runners/compiler.rb', line 168

def body
  @body
end

#headersObject

Returns the value of attribute headers.



168
169
170
# File 'lib/tipsy/runners/compiler.rb', line 168

def headers
  @headers
end

#statusObject

Returns the value of attribute status.



168
169
170
# File 'lib/tipsy/runners/compiler.rb', line 168

def status
  @status
end