File Coverage

blib/lib/WebService/Prismatic/InterestGraph/Tag.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package WebService::Prismatic::InterestGraph::Tag;
2             $WebService::Prismatic::InterestGraph::Tag::VERSION = '0.02';
3 1     1   36 use 5.006;
  1         4  
  1         53  
4 1     1   6 use Moo;
  1         2  
  1         8  
5 1     1   295 use JSON qw(decode_json);
  1         1  
  1         4  
6              
7             has id => (is => 'ro');
8             has topic => (is => 'ro');
9             has score => (is => 'ro');
10              
11             1;
12              
13             =head1 NAME
14              
15             WebService::Prismatic::InterestGraph::Tag - represents one topic tag returned by the InterestGraph calls
16              
17             =head1 SYNOPSIS
18              
19             use WebService::Prismatic::InterestGraph::Tag;
20             my $tag = WebService::Prismatic::InterestGraph::Tag->new(
21             id => 30489,
22             topic => 'Pattern Recognition',
23             score => 0.5737522648935313,
24             );
25              
26             =head1 DESCRIPTION
27              
28             This module is a class for data objects that are returned by the C and C
29             methods in the L module.
30              
31