Client/Container/MySpace09.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 100% 1 / 1 totaltotal 80.0% 12 / 15 CC 1 SCAR 2.9
CC
1
Cov
82%
BUILDARGS
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Client/Container/MySpace.pm ↑ Summary Client/Container/Orkut.pm »
1 package Net::OpenSocial::Client::Container::MySpace09;
2  
3 1 ▶use Any::Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 extends 'Net::OpenSocial::Client::Container';
5  
6 0 ▶sub BUILDARGS {
Subroutine BUILDARGS: not called CC=1 SCAR=6.9
Pod documented
7 0 my ( $self, @args ) = @_;
8 return {
9 0 request_token_endpoint => q{http://api.myspace.com/request_token},
10 authorize_endpoint => q{http://api.myspace.com/authorize},
11 access_token_endpoint => q{http://api.myspace.com/access_token},
12 rest_endpoint => q{http://opensocial.myspace.com/roa/09},
13 };
14 }
15  
16 1 ▶no Any::Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 1 __PACKAGE__->meta->make_immutable;
18 1 1;
19  
20 =head1 NAME
21  
22 Net::OpenSocial::Client::Container::MySpace09 - MySpace OpenSocial v0.9
23  
24 =head1 SYNOPSIS
25  
26 my $client = Net::OpenSocial::Client->new(
27 container => Net::OpenSocial::Client::Container::MySpace09->new,
28 consumer_key => q{consumer},
29 consumer_secret => q{secret},
30 );
31
32 or
33  
34 my $container = Net::OpenSocial::Client::Container::MySpace09->new;
35 say $container->rest_endpoint; # http://opensocial.myspace.com/roa/09
36  
37 =head1 DESCRIPTION
38  
39 Endpoint URLs for MySpace OpenSocial v0.9 interface.
40  
41 =head1 METHODS
42  
43 Inherited from Net::OpenSocial::Client::Container.
44  
45 =head2 BUILDARGS
46  
47 See L<Moose>, L<Mouse>
48  
49 =head1 AUTHOR
50  
51 This module is based on Net::OpenSocial::Client::Container::MySpace by
52 Lyo Kato, E<lt>lyo.kato@gmail.comE<gt>, updates were done by
53 Eugene A.Lukianov, E<lt>eugene.spa@gmail.comE<gt>
54  
55 =head1 COPYRIGHT AND LICENSE
56  
57 Copyright (C) 2009 by Lyo Kato
58  
59 This library is free software; you can redistribute it and/or modify
60 it under the same terms as Perl itself, either Perl version 5.8.8 or,
61 at your option, any later version of Perl 5 you may have available.
62  
63 =cut
64  
65  
« Client/Container/MySpace.pm ↑ Summary Client/Container/Orkut.pm »