Class: AkamaiApi::CCU::PurgeStatus::Request
- Inherits:
-
Object
- Object
- AkamaiApi::CCU::PurgeStatus::Request
- Includes:
- HTTParty
- Defined in:
- lib/akamai_api/ccu/purge_status/request.rb
Overview
Request is used to check the status of a purge request using Akamai CCU.
Class Method Summary collapse
-
.execute(purge_id_or_progress_uri) ⇒ Response
Checks the status of the requested associated with the given argument.
Instance Method Summary collapse
-
#execute(purge_id_or_progress_uri) ⇒ Response
Checks the status of the requested associated with the given argument.
Class Method Details
.execute(purge_id_or_progress_uri) ⇒ Response
Checks the status of the requested associated with the given argument
28 29 30 |
# File 'lib/akamai_api/ccu/purge_status/request.rb', line 28 def self.execute purge_id_or_progress_uri new.execute purge_id_or_progress_uri end |
Instance Method Details
#execute(purge_id_or_progress_uri) ⇒ Response
Checks the status of the requested associated with the given argument
37 38 39 40 41 |
# File 'lib/akamai_api/ccu/purge_status/request.rb', line 37 def execute purge_id_or_progress_uri purge_id_or_progress_uri = normalize_progress_uri purge_id_or_progress_uri response = self.class.get purge_id_or_progress_uri, basic_auth: AkamaiApi.auth parse_response response end |