Graph/Publish/RSVPMaybe.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Graph/Publish/RSVPDeclined.pm ↑ Summary
1 package Facebook::Graph::Publish::RSVPMaybe;
2 4 $Facebook::Graph::Publish::RSVPMaybe::VERSION = '1.1205';
3 4 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 extends 'Facebook::Graph::Publish';
5  
6 4 ▶use constant object_path => '/maybe';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 4 1;
9  
10 =head1 NAME
11  
12 Facebook::Graph::Publish::RSVPMaybe - RSVP maybe to an event.
13  
14 =head1 VERSION
15  
16 version 1.1205
17  
18 =head1 SYNOPSIS
19  
20 my $fb = Facebook::Graph->new;
21  
22 $fb->rsvp_maybe($event_id)
23 ->publish;
24  
25 =head1 DESCRIPTION
26  
27 RSVP's "Maybe" to an event.
28  
29 B<ATTENTION:> You must have the C<rsvp_event> privilege to use this module.
30  
31 =head1 METHODS
32  
33  
34 =head2 publish ( )
35  
36 Posts the data and returns a L<Facebook::Graph::Response> object. The response object should contain a string of either 'true' or 'false'.
37  
38 =head1 LEGAL
39  
40 Facebook::Graph is Copyright 2010 - 2017 Plain Black Corporation (L<http://www.plainblack.com>) and is licensed under the same terms as Perl itself.
41  
42 =cut
« Graph/Publish/RSVPDeclined.pm ↑ Summary