Metabase-Client-Simple

 view release on metacpan or  search on metacpan

t/client.t  view on Meta::CPAN


use Test::More 0.88;

require_ok('Metabase::Client::Simple');

$Metabase::Client::Simple::VERSION ||= "0.123456"; # for prove in repo dir

my $ver = Metabase::Client::Simple->VERSION;

my $id_file = File::Spec->catfile(qw/t data id.json/);
my $guts    = do { local ( @ARGV, $/ ) = $id_file; <> };
my $id_pair = JSON()->new->decode($guts);

my $profile = Metabase::User::Profile->from_struct( $id_pair->[0] );
my $secret  = Metabase::User::Secret->from_struct( $id_pair->[1] );

my $args = {
    profile => $profile,
    secret  => $secret,
    uri     => 'http://metabase.example.com/',
};

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.950 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )