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.



181
182
183
# File 'lib/tipsy/runners/compiler.rb', line 181

def initialize
  @headers = {}
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



180
181
182
# File 'lib/tipsy/runners/compiler.rb', line 180

def body
  @body
end

#headersObject

Returns the value of attribute headers.



180
181
182
# File 'lib/tipsy/runners/compiler.rb', line 180

def headers
  @headers
end

#statusObject

Returns the value of attribute status.



180
181
182
# File 'lib/tipsy/runners/compiler.rb', line 180

def status
  @status
end