docs/VclApi.md in fastly-5.3.0 vs docs/VclApi.md in fastly-5.3.1
- old
+ new
@@ -233,11 +233,11 @@
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)
## `get_custom_vcl_generated_highlighted()`
```ruby
-get_custom_vcl_generated_highlighted(opts) # Get the generated VCL with syntax highlighting
+get_custom_vcl_generated_highlighted(opts): <VclSyntaxHighlightingResponse> # Get the generated VCL with syntax highlighting
```
Display the content of generated VCL with HTML syntax highlighting. Include line numbers by sending `lineno=true` as a request parameter.
### Examples
@@ -249,11 +249,12 @@
version_id: 56, # Integer | Integer identifying a service version.
}
begin
# Get the generated VCL with syntax highlighting
- api_instance.get_custom_vcl_generated_highlighted(opts)
+ result = api_instance.get_custom_vcl_generated_highlighted(opts)
+ p result
rescue Fastly::ApiError => e
puts "Error when calling VclApi->get_custom_vcl_generated_highlighted: #{e}"
end
```
@@ -264,18 +265,18 @@
| **service_id** | **String** | Alphanumeric string identifying the service. | |
| **version_id** | **Integer** | Integer identifying a service version. | |
### Return type
-nil (empty response body)
+[**VclSyntaxHighlightingResponse**](VclSyntaxHighlightingResponse.md)
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)
## `get_custom_vcl_highlighted()`
```ruby
-get_custom_vcl_highlighted(opts) # Get a custom VCL file with syntax highlighting
+get_custom_vcl_highlighted(opts): <VclSyntaxHighlightingResponse> # Get a custom VCL file with syntax highlighting
```
Get the uploaded VCL for a particular service and version with HTML syntax highlighting. Include line numbers by sending `lineno=true` as a request parameter.
### Examples
@@ -288,11 +289,12 @@
vcl_name: 'vcl_name_example', # String | The name of this VCL.
}
begin
# Get a custom VCL file with syntax highlighting
- api_instance.get_custom_vcl_highlighted(opts)
+ result = api_instance.get_custom_vcl_highlighted(opts)
+ p result
rescue Fastly::ApiError => e
puts "Error when calling VclApi->get_custom_vcl_highlighted: #{e}"
end
```
@@ -304,10 +306,10 @@
| **version_id** | **Integer** | Integer identifying a service version. | |
| **vcl_name** | **String** | The name of this VCL. | |
### Return type
-nil (empty response body)
+[**VclSyntaxHighlightingResponse**](VclSyntaxHighlightingResponse.md)
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)
## `get_custom_vcl_raw()`