Class: Tipsy::Runners::Compiler::MockResponse
- Inherits:
-
Object
- Object
- Tipsy::Runners::Compiler::MockResponse
- Defined in:
- lib/tipsy/runners/compiler.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize ⇒ MockResponse
constructor
A new instance of MockResponse.
Constructor Details
#initialize ⇒ MockResponse
Returns a new instance of MockResponse.
181 182 183 |
# File 'lib/tipsy/runners/compiler.rb', line 181 def initialize @headers = {} end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
180 181 182 |
# File 'lib/tipsy/runners/compiler.rb', line 180 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers.
180 181 182 |
# File 'lib/tipsy/runners/compiler.rb', line 180 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status.
180 181 182 |
# File 'lib/tipsy/runners/compiler.rb', line 180 def status @status end |