File Coverage

lib/Google/RestApi/SheetsApi4/Range/All.pm
Criterion Covered Total %
statement 6 12 50.0
branch n/a
condition n/a
subroutine 2 5 40.0
pod 3 3 100.0
total 11 20 55.0


line stmt bran cond sub pod time code
1             package Google::RestApi::SheetsApi4::Range::All;
2              
3             # TODO: this class has not been fully tested. use at your own risk.
4              
5             our $VERSION = '1.0.4';
6              
7 1     1   576 use Google::RestApi::Setup;
  1         3  
  1         7  
8              
9 1     1   13966 use parent 'Google::RestApi::SheetsApi4::Range';
  1         3  
  1         7  
10              
11             sub new {
12 0     0 1   my $class = shift;
13 0           state $check = compile_named(
14             worksheet => HasMethods[qw(api worksheet_name)],
15             );
16 0           my $self = $check->(@_);
17 0           return bless $self, $class;
18             }
19              
20 0     0 1   sub range { shift->worksheet_name(); }
21              
22 0     0 1   sub is_other_inside { 1; }
23              
24             1;
25              
26             __END__
27              
28             =head1 NAME
29              
30             Google::RestApi::SheetsApi4::Range::All - Represents an the Range of an entire Worksheet.
31              
32             =head1 DESCRIPTION
33              
34             A Range::All object modifies the behaviour of the parent Range object
35             to return the entire worksheet as the range.
36              
37             THIS IS CURRENTLY JUST A PLACEHOLDER FOR THE OBJECT AND HAS NOT BEEN
38             TESTED AS YET.
39              
40             See the description and synopsis at Google::RestApi::SheetsApi4.
41              
42             =head1 AUTHORS
43              
44             =over
45              
46             =item
47              
48             Robin Murray mvsjes@cpan.org
49              
50             =back
51              
52             =head1 COPYRIGHT
53              
54             Copyright (c) 2021, Robin Murray. All rights reserved.
55              
56             This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.