Sha256: 16e65ac97718086c3b8128568e195461e04f77586603d0e56027a8d9ec226f67
Contents?: true
Size: 824 Bytes
Versions: 1
Compression:
Stored size: 824 Bytes
Contents
# cyn_sms # # This file was automatically generated by APIMATIC v2.0 ( # https://apimatic.io ). module CynSms # HttpCallBack allows defining callables for pre and post API calls. class HttpCallBack # A controller will call this method before making an HTTP Request. # @param [HttpRequest] The HttpRequest object which the HttpClient # will execute. def on_before_request(_http_request) raise NotImplementedError, 'This method needs to be implemented in a child class.' end # A controller will call this method after making an HTTP Request. # @param [HttpContext] The HttpContext of the API call. def on_after_response(_http_context) raise NotImplementedError, 'This method needs to be implemented in a child class.' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
CynSMS-1.0 | lib/cyn_sms/http/http_call_back.rb |