Fastly Inc

NAME

Net::Fastly::Service - a representation of a Fastly service

ACCESSORS

id

The id of the service

customer

The id of the customer this belongs to

name

The name of this service

comment

a free form comment field

METHODS

stats [type]

Get an hash ref of stats from different data centers.

Type can be one of

minutely
hourly
daily
all (default)

invoice [<year> <month>]

Return a Net::Fastly::Invoice objects representing the invoice for this service

If a year and month are passed in returns the invoice for that whole month.

Otherwise it returns the invoice for the current month so far.

purge_all

Purge all assets from this service.

purge_by_key <key>

Purge anything with the specific key from the given service.

versions

Get a sorted array of all the versions that this service has had.

version

Get the current version of this service.

details

A deep hash of nested details




Hosting generously
sponsored by Bytemark