NAME

Clustericious::Client::Object::Params - object parameters

VERSION

version 1.29

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

AUTHOR

Original author: Brian Duggan

Current maintainer: Graham Ollis <plicease@cpan.org>

Contributors:

Curt Tilmes

Yanick Champoux

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by NASA GSFC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.