my $response = YuiRestClient::Http::HttpClient::http_get($uri);
return $response->json if $response;
},
message => "Connection to YUI REST server failed",
%args
my $response = YuiRestClient::Http::HttpClient::http_get($uri);
return $response->json if $response; },
timeout => $self->{timeout},
interval => $self->{interval}
1;
}
sub property {
my ($self, $property) = @_;
my $res = $self->find_widgets();
# JSON always contains array if results, return first entry
if (ref $res eq 'ARRAY' && ref $res->[0]