Class: SuggestGrid::HttpCallBack
- Inherits:
-
Object
- Object
- SuggestGrid::HttpCallBack
- Defined in:
- lib/suggest_grid/http/http_call_back.rb
Instance Method Summary collapse
-
#on_after_response(http_context) ⇒ Object
A controller will call this method after making an HTTP Request.
-
#on_before_request(http_request) ⇒ Object
A controller will call this method before making an HTTP Request.
Instance Method Details
#on_after_response(http_context) ⇒ Object
A controller will call this method after making an HTTP Request.
13 14 15 |
# File 'lib/suggest_grid/http/http_call_back.rb', line 13 def on_after_response(http_context) raise NotImplementedError, "This method needs to be implemented in a child class." end |
#on_before_request(http_request) ⇒ Object
A controller will call this method before making an HTTP Request.
7 8 9 |
# File 'lib/suggest_grid/http/http_call_back.rb', line 7 def on_before_request(http_request) raise NotImplementedError, "This method needs to be implemented in a child class." end |