Class: FacebookAds::ServerSide::HttpServiceInterface
- Inherits:
-
Object
- Object
- FacebookAds::ServerSide::HttpServiceInterface
- Defined in:
- lib/facebook_ads/ad_objects/server_side/http_service_interface.rb
Instance Method Summary collapse
-
#execute(url, request_method, headers, params) ⇒ Object
String url | The graph API endpoint that will be requested String request_method | The HTTP request method Hash headers | Contains HTTP request headers including User-Agent and Accept-Encoding Hash params | Contains request parameters including access_token, data, test_event_code, etc.
Instance Method Details
#execute(url, request_method, headers, params) ⇒ Object
String url | The graph API endpoint that will be requested String request_method | The HTTP request method Hash headers | Contains HTTP request headers including User-Agent and Accept-Encoding Hash params | Contains request parameters including access_token, data, test_event_code, etc.
28 29 30 |
# File 'lib/facebook_ads/ad_objects/server_side/http_service_interface.rb', line 28 def execute(url, request_method, headers, params) raise Exception.new("Method 'execute' not implemented") end |