Class: FakeResponseCurbFu
- Inherits:
-
Object
- Object
- FakeResponseCurbFu
- Defined in:
- lib/fakeweb_curb-fu.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body) ⇒ FakeResponseCurbFu
constructor
A new instance of FakeResponseCurbFu.
Constructor Details
#initialize(body) ⇒ FakeResponseCurbFu
Returns a new instance of FakeResponseCurbFu.
47 48 49 |
# File 'lib/fakeweb_curb-fu.rb', line 47 def initialize(body) @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
45 46 47 |
# File 'lib/fakeweb_curb-fu.rb', line 45 def body @body end |