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

NAME

Clustericious::Client::Object::Params

SYNOPSIS

 my $data = 
 [
     { name => 'foo', value => 'foovalue' },
     { name => 'bar', value => 'barvalue' }
 ];

 my $obj = Clustericious::Client::Object::Params->new($data);

 $obj->{foo} -> 'foovalue';
 $obj->{bar} -> 'barvalue';

DESCRIPTION

Takes an array reference of hashes with 'name' and 'value' keys and transforms it into a single flattened hash of name => value.

METHODS

new

 my $obj = Clustericious::Client::Object::Params->new($data);