line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::OpenSocial::Client::Request::UpdatePersonAppData; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
4
|
use Any::Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
4
|
|
|
|
|
|
|
extends 'Net::OpenSocial::Client::Request'; |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
477
|
use Net::OpenSocial::Client::Type::Service qw(APPDATA); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
48
|
|
7
|
1
|
|
|
1
|
|
6
|
use Net::OpenSocial::Client::Type::Operation qw(UPDATE); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
144
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub BUILDARGS { |
10
|
0
|
|
|
0
|
1
|
|
my ( $self, $user_id, $resource, $params ) = @_; |
11
|
0
|
|
0
|
|
|
|
$params ||= {}; |
12
|
0
|
|
0
|
|
|
|
$params->{appId} ||= '@app'; |
13
|
0
|
|
0
|
|
|
|
my $args = { |
14
|
|
|
|
|
|
|
service => APPDATA, |
15
|
|
|
|
|
|
|
operation => UPDATE, |
16
|
|
|
|
|
|
|
user_id => $user_id || '@me', |
17
|
|
|
|
|
|
|
group_id => '@self', |
18
|
|
|
|
|
|
|
params => $params, |
19
|
|
|
|
|
|
|
}; |
20
|
0
|
0
|
|
|
|
|
$args->{resource} = $resource if $resource; |
21
|
0
|
|
|
|
|
|
return $args; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
1
|
|
|
1
|
|
5
|
no Any::Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
25
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Net::OpenSocial::Client::Request::UpdatePersonAppData - update AppData for person |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 SYNOPSIS |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 DESCRIPTION |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 METHODS |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head2 BUILDARGS |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
See L or L |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 SEE ALSO |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
L |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 AUTHOR |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Lyo Kato, Elyo.kato@gmail.comE |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
Copyright (C) 2009 by Lyo Kato |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
55
|
|
|
|
|
|
|
it under the same terms as Perl itself, either Perl version 5.8.8 or, |
56
|
|
|
|
|
|
|
at your option, any later version of Perl 5 you may have available. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |
59
|
|
|
|
|
|
|
|