Module: GoFigure::StubHttpFetcher::Response
- Included in:
- ErrorResponse, StringResponse
- Defined in:
- lib/go_figure/test/stub_http_fetcher.rb
Instance Method Summary collapse
Instance Method Details
#invoked! ⇒ Object
12 13 14 |
# File 'lib/go_figure/test/stub_http_fetcher.rb', line 12 def invoked! @invoked = true end |
#invoked? ⇒ Boolean
16 17 18 |
# File 'lib/go_figure/test/stub_http_fetcher.rb', line 16 def invoked? !!@invoked end |