Class: FakeResponseCurbFu

Inherits:
Object
  • Object
show all
Defined in:
lib/fakeweb_curb-fu.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(body) ⇒ FakeResponseCurbFu

Returns a new instance of FakeResponseCurbFu.



51
52
53
# File 'lib/fakeweb_curb-fu.rb', line 51

def initialize(body)
  @body = body
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



49
50
51
# File 'lib/fakeweb_curb-fu.rb', line 49

def body
  @body
end