line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
8
|
use Moops -strict; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
16
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: represents a note |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=pod |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
WebService::Intercom::Note - represent a note |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 SYNOPSIS |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my $user = $intercom->user_get(email => 'test@example.com'); |
14
|
|
|
|
|
|
|
my $note = $user->add_note(body => "This is a test note"); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head2 ATTRIBUTES |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Attributes are defined at L<http://doc.intercom.io/api/#notes> |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=over |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=item type |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=item id |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=item created_at |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=item user |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=item body |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=item author |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=item intercom - the WebService::Intercom object that created this user object |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=back |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |
39
|
|
|
|
|
|
|
|
40
|
2
|
|
|
2
|
|
5647
|
class WebService::Intercom::Note types WebService::Intercom::Types { |
|
2
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
2
|
|
|
|
|
7019
|
|
41
|
2
|
|
|
|
|
26
|
has 'type' => (is => 'ro'); |
42
|
2
|
|
|
|
|
1191
|
has 'id' => (is => 'ro'); |
43
|
2
|
|
|
|
|
500
|
has 'created_at' => (is => 'rw'); |
44
|
2
|
|
|
|
|
526
|
has 'user' => (is => 'ro'); |
45
|
2
|
|
|
|
|
493
|
has 'body' => (is => 'ro', isa => Str); |
46
|
2
|
|
|
|
|
712
|
has 'author' => ('is' => 'ro', isa => Maybe[Str]); |
47
|
|
|
|
|
|
|
}; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
1; |