Bric::Dist::Action::Akamaize

Name

Bric::Dist::Action::Akamaize - Class to Akamaize resources

Synopsis

use Bric::Dist::Action::Akamaize;

my $id = 2; # Assume that this is an akamaize action.
# This line will automatically instantiate the correct subclass.
my $action = Bric::Dist::Action->lookup({ id => $id });

# Access its properties.
my $dns_name = $action->get_dns_name;
$action = $action->set_dns_name($dns_name);
my $cp_code = $action->get_cp_code;
$action = $action->set_cp_code($cp_code);
my $seed_a = $action->get_seed_a;
$action = $action->set_seed_a($seed_a);
my $seed_b = $action->get_seed_b;
$action = $action->set_seed_b($seed_b);

# Perform the action on a list of resources.
action = $action->do_it($resources_href);
# Undo the action on a list of resources.
action = $action->undo_it($resources_href);

Description

This subclass of Bric::Dist::Action handles the Akamiazation of resources. It requires the properties DNS Name, CP Code, Seed A, and Seed B to do its job. See the accessors below.

Interface

Constructors

Inherited from Bric::Dist::Action.

Destructors

Public Class Methods

Public Instance Methods

In addition to the methods inherited from Bric::Dist::Action, Bric::Dist::Action::Akamaize offers the following class methods:

Private

Private Class Methods

NONE.

Private Instance Methods

Private Functions

Notes

NONE.

Author

David Wheeler

See Also

Bric, Bric::Dist::Action