require 'fastly'
api_instance = Fastly::PopApi.newNote
All URIs are relative to https://api.fastly.com
| Method | HTTP request | Description |
|---|---|---|
| list_pops | GET /datacenters | List Fastly POPs |
list_pops: <Array<Pop>> # List Fastly POPsGet a list of all Fastly POPs.
api_instance = Fastly::PopApi.new
begin
# List Fastly POPs
result = api_instance.list_pops
p result
rescue Fastly::ApiError => e
puts "Error when calling PopApi->list_pops: #{e}"
endThis endpoint does not need any parameter.