Class: HTTPController::DummyResult
- Inherits:
-
Object
- Object
- HTTPController::DummyResult
- Defined in:
- lib/appswarm/http/http_controller.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
- #[]=(name, value) ⇒ Object
-
#initialize ⇒ DummyResult
constructor
A new instance of DummyResult.
Constructor Details
#initialize ⇒ DummyResult
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
#body ⇒ Object
Returns the value of attribute body.
23 24 25 |
# File 'lib/appswarm/http/http_controller.rb', line 23 def body @body end |
#status ⇒ Object
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 |