Module: CurbFu
- Defined in:
- lib/fakeweb_curb-fu.rb
Class Method Summary collapse
- .get_with_fake_uris(uri) ⇒ Object (also: get)
Class Method Details
.get_with_fake_uris(uri) ⇒ Object Also known as: get
60 61 62 63 64 65 66 |
# File 'lib/fakeweb_curb-fu.rb', line 60 def get_with_fake_uris(uri) if (content = FakeWebCurbFu.get(uri)) FakeResponseCurbFu.new(content) else get_without_fake_uris(uri) end end |