The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.

versions

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

version

Get the current version of this service.