NAME

Net::Fastly::User - a representation of a user

ACCESSORS

id

The id of this user

name

The name of this user

customer_id

The id of the customer this user belongs to

role

The role this user has (one of admin, owner, superuser, user, engineer, billing)

METHODS

customer

Get the Customer object this user belongs to.

owner

Where this user is the owner of their Customer.

can_do <role>

Whether or not this user has the capabilities of a given role.

So for example a super user can_do superuser or user or engineer or billing.