File Coverage

blib/lib/Net/OAuth/Response.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 Net::OAuth::Response;
2 4     4   2212 use warnings;
  4         8  
  4         256  
3 4     4   50 use strict;
  4         7  
  4         142  
4 4     4   19 use base qw/Net::OAuth::Message/;
  4         23  
  4         1439  
5              
6             __PACKAGE__->mk_classdata(required_message_params => [qw/
7             token
8             /]);
9              
10             __PACKAGE__->mk_classdata(optional_message_params => [qw/
11             /]);
12              
13             __PACKAGE__->mk_classdata(required_api_params => [qw/
14             /]);
15              
16             __PACKAGE__->mk_classdata(optional_api_params => [qw/
17             extra_params
18             protocol_version
19             /]);
20              
21             __PACKAGE__->mk_classdata(signature_elements => [qw/
22             /]);
23              
24             __PACKAGE__->mk_classdata(all_message_params => [
25             @{__PACKAGE__->required_message_params},
26             @{__PACKAGE__->optional_message_params},
27             ]);
28              
29             __PACKAGE__->mk_classdata(all_api_params => [
30             @{__PACKAGE__->required_api_params},
31             @{__PACKAGE__->optional_api_params},
32             ]);
33              
34             __PACKAGE__->mk_classdata(all_params => [
35             @{__PACKAGE__->all_api_params},
36             @{__PACKAGE__->all_message_params},
37             ]);
38              
39             __PACKAGE__->mk_accessors(
40             @{__PACKAGE__->all_params},
41             );
42              
43             =head1 NAME
44              
45             Net::OAuth::Response - base class for OAuth responses
46              
47             =head1 SEE ALSO
48              
49             L<Net::OAuth>, L<http://oauth.net>
50              
51             =head1 AUTHOR
52              
53             Originally by Keith Grennan <kgrennan@cpan.org>
54              
55             Currently maintained by Robert Rothenberg <rrwo@cpan.org>
56              
57             =head1 COPYRIGHT & LICENSE
58              
59             Copyright 2007-2012, 2024-2025 Keith Grennan
60              
61             This program is free software; you can redistribute it and/or modify it
62             under the same terms as Perl itself.
63              
64             =cut
65              
66             1;