File Coverage

blib/lib/Facebook/Graph/Publish/RSVPAttending.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Facebook::Graph::Publish::RSVPAttending;
2             $Facebook::Graph::Publish::RSVPAttending::VERSION = '1.1203';
3 4     4   22 use Moo;
  4         10  
  4         18  
4             extends 'Facebook::Graph::Publish';
5              
6 4     4   1049 use constant object_path => '/attending';
  4         9  
  4         199  
7              
8             1;
9              
10             =head1 NAME
11              
12             Facebook::Graph::Publish::RSVPAttending - RSVP attending to an event.
13              
14             =head1 VERSION
15              
16             version 1.1203
17              
18             =head1 SYNOPSIS
19              
20             my $fb = Facebook::Graph->new;
21              
22             $fb->rsvp_attending($event_id)
23             ->publish;
24              
25             =head1 DESCRIPTION
26              
27             RSVP's "Attending" 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 - 2012 Plain Black Corporation (L<http://www.plainblack.com>) and is licensed under the same terms as Perl itself.
41              
42             =cut