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
56 57 58 59 60 61 62 |
# File 'lib/fakeweb_curb-fu.rb', line 56 def get_with_fake_uris(uri) if (content = FakeWebCurbFu.get(uri)) FakeResponseCurbFu.new(content) else get_without_fake_uris(uri) end end |