lib/fastly/api/package_api.rb in fastly-7.2.0 vs lib/fastly/api/package_api.rb in fastly-7.2.1
- old
+ new
@@ -15,22 +15,22 @@
attr_accessor :api_client
def initialize(api_client = ApiClient.default)
@api_client = api_client
end
- # Get details of the service's Compute@Edge package.
- # List detailed information about the Compute@Edge package for the specified service.
+ # Get details of the service's Compute package.
+ # List detailed information about the Compute package for the specified service.
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
# @option opts [Integer] :version_id Integer identifying a service version. (required)
# @return [PackageResponse]
def get_package(opts = {})
data, _status_code, _headers = get_package_with_http_info(opts)
data
end
- # Get details of the service's Compute@Edge package.
- # List detailed information about the Compute@Edge package for the specified service.
+ # Get details of the service's Compute package.
+ # List detailed information about the Compute package for the specified service.
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
# @option opts [Integer] :version_id Integer identifying a service version. (required)
# @return [Array<(PackageResponse, Integer, Hash)>] PackageResponse data, response status code and response headers
def get_package_with_http_info(opts = {})
if @api_client.config.debugging
@@ -85,23 +85,23 @@
@api_client.config.logger.debug "API called: PackageApi#get_package\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
- # Upload a Compute@Edge package.
- # Upload a Compute@Edge package associated with the specified service version.
+ # Upload a Compute package.
+ # Upload a Compute package associated with the specified service version.
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
# @option opts [Integer] :version_id Integer identifying a service version. (required)
# @option opts [String] :expect We recommend using the Expect header because it may identify issues with the request based upon the headers alone instead of requiring you to wait until the entire binary package upload has completed.
# @option opts [File] :package The content of the Wasm binary package.
# @return [PackageResponse]
def put_package(opts = {})
data, _status_code, _headers = put_package_with_http_info(opts)
data
end
- # Upload a Compute@Edge package.
- # Upload a Compute@Edge package associated with the specified service version.
+ # Upload a Compute package.
+ # Upload a Compute package associated with the specified service version.
# @option opts [String] :service_id Alphanumeric string identifying the service. (required)
# @option opts [Integer] :version_id Integer identifying a service version. (required)
# @option opts [String] :expect We recommend using the Expect header because it may identify issues with the request based upon the headers alone instead of requiring you to wait until the entire binary package upload has completed.
# @option opts [File] :package The content of the Wasm binary package.
# @return [Array<(PackageResponse, Integer, Hash)>] PackageResponse data, response status code and response headers