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);