package StreamRoot::Manifest;
use strict;
use warnings;
use WWW::Curl::Easy;
use JSON;
our $VERSION = '0.03';
sub new {
my $class = shift;
my $self = {};
$self->{token} = shift||undef;
^2/) {
decode_json($content) if $content !~ /^$/;
}else{
if ($self->{curl}->getinfo(CURLINFO_HTTP_CODE) =~ /^4/) {
decode_json($content) if $content !~