line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::OpenSocial::Client::Container::MySpace09; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
5
|
use Any::Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
extends 'Net::OpenSocial::Client::Container'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
sub BUILDARGS { |
7
|
0
|
|
|
0
|
1
|
|
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
|
|
|
1
|
|
585
|
no Any::Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
18
|
|
|
|
|
|
|
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, L |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 AUTHOR |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
This module is based on Net::OpenSocial::Client::Container::MySpace by |
52
|
|
|
|
|
|
|
Lyo Kato, Elyo.kato@gmail.comE, updates were done by |
53
|
|
|
|
|
|
|
Eugene A.Lukianov, Eeugene.spa@gmail.comE |
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
|
|
|
|
|
|
|
|