line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
10
|
use Moops -strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
19
|
|
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
|
|
6819
|
class WebService::Intercom::Note types WebService::Intercom::Types { |
|
2
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
2
|
|
|
|
|
8794
|
|
41
|
2
|
|
|
|
|
28
|
has 'type' => (is => 'ro'); |
42
|
2
|
|
|
|
|
1525
|
has 'id' => (is => 'ro'); |
43
|
2
|
|
|
|
|
615
|
has 'created_at' => (is => 'rw'); |
44
|
2
|
|
|
|
|
654
|
has 'user' => (is => 'ro'); |
45
|
2
|
|
|
|
|
612
|
has 'body' => (is => 'ro', isa => Str); |
46
|
2
|
|
|
|
|
807
|
has 'author' => ('is' => 'ro', isa => Maybe[Str]); |
47
|
|
|
|
|
|
|
}; |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
1; |