Class: HTTPController::DummyResult

Inherits:
Object
  • Object
show all
Defined in:
lib/appswarm/http/http_controller.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDummyResult

Returns a new instance of DummyResult.



24
25
26
27
# File 'lib/appswarm/http/http_controller.rb', line 24

def initialize
  @body=nil
  @values={}
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



23
24
25
# File 'lib/appswarm/http/http_controller.rb', line 23

def body
  @body
end

#statusObject

Returns the value of attribute status.



23
24
25
# File 'lib/appswarm/http/http_controller.rb', line 23

def status
  @status
end

Instance Method Details

#[]=(name, value) ⇒ Object



28
29
30
# File 'lib/appswarm/http/http_controller.rb', line 28

def []=(name,value)
  @values[name]=value
end