NAME

Catmandu::FedoraCommons::Model::listMethods - Perl model for the Fedora 'listMethods' REST call

SYNOPSIS

use Catmandu::FedoraCommons;

my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');

my $obj = $fedora->listMethods(pid => 'demo:29')->parse_content;

{
  'pid'     => 'demo:29' ,
  'baseURL' => 'http://localhost:8080/fedora/' ,
  'sDef' => [
      {
          'pid' => 'demo:27',
          'method' => [
              {
                  'name' => 'resizeImage' ,
                  'methodParm' => [
                       {
                      'parmDefaultValue' => '150',
                      'parmLabel' => 'fix me',
                      'parmRequired' => 'true',
                      'parmName' => 'width'
                       }
                  ],
              },
           ]
      }
  ]
}

SEE ALSO

Catmandu::FedoraCommons