def purge action, type, items, opts = {}
      request = Purge::Request.new action, type, domain: opts[:domain]
      request.execute items
    end
def purge action, type, items, opts = {}
      request = Purge::Request.new action, type, domain: opts[:domain]
      request.execute items
    end
Purges one or more resources
 @param [String,Symbol] action type of clean action. Allowed values are:
   - :invalidate
   - :remove
   Check {AkamaiApi::CCU::Purge::Request#action} for more details
 @param [String,Symbol] type type of resource to clean. Allowed values are:
   - :cpcode
   - :arl
   Check {AkamaiApi::CCU::Purge::Request#type} for more details
 @param [String, Array] items resource(s) to clean
 @param [Hash] opts additional options
 @option opts [String] :domain domain type where to act. Allowed values are:
   - :production
   - :staging
   Check {AkamaiApi::CCU::Purge::Request#domain} for more details
 @return [AkamaiApi::CCU::Purge::Response] an object representing the received response
 @raise [AkamaiApi::CCU::Error] when there is an error in the request
 @raise [AkamaiApi::Unauthorized] when login credentials are invalid