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.



47
48
49
# File 'lib/fakeweb_curb-fu.rb', line 47

def initialize(body)
  @body = body
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



45
46
47
# File 'lib/fakeweb_curb-fu.rb', line 45

def body
  @body
end