| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package LINE::Notify::Simple::Response; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 2 |  |  | 2 |  | 17 | use strict; | 
|  | 2 |  |  |  |  | 5 |  | 
|  | 2 |  |  |  |  | 70 |  | 
| 4 | 2 |  |  | 2 |  | 11 | use warnings; | 
|  | 2 |  |  |  |  | 5 |  | 
|  | 2 |  |  |  |  | 59 |  | 
| 5 | 2 |  |  | 2 |  | 10 | use utf8; | 
|  | 2 |  |  |  |  | 4 |  | 
|  | 2 |  |  |  |  | 14 |  | 
| 6 | 2 |  |  | 2 |  | 54 | use feature qw(say); | 
|  | 2 |  |  |  |  | 5 |  | 
|  | 2 |  |  |  |  | 205 |  | 
| 7 | 2 |  |  | 2 |  | 13 | use parent qw(Class::Accessor); | 
|  | 2 |  |  |  |  | 5 |  | 
|  | 2 |  |  |  |  | 26 |  | 
| 8 |  |  |  |  |  |  |  | 
| 9 |  |  |  |  |  |  | __PACKAGE__->mk_accessors(qw(status message status_line rate_limit_headers)); | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | sub is_success { | 
| 12 |  |  |  |  |  |  |  | 
| 13 | 1 |  |  | 1 | 0 | 192 | my $self = shift; | 
| 14 | 1 | 50 |  |  |  | 7 | return $self->status == 200 ? 1 : 0; | 
| 15 |  |  |  |  |  |  | } | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | sub header_field_names { | 
| 18 |  |  |  |  |  |  |  | 
| 19 | 0 |  |  | 0 | 0 |  | my $self = shift; | 
| 20 | 0 |  |  |  |  |  | my @names; | 
| 21 | 0 | 0 |  |  |  |  | if (ref($self->rate_limit_headers) eq "HASH") { | 
| 22 | 0 |  |  |  |  |  | @names = keys %{$self->rate_limit_headers}; | 
|  | 0 |  |  |  |  |  |  | 
| 23 |  |  |  |  |  |  | } | 
| 24 | 0 |  |  |  |  |  | return @names; | 
| 25 |  |  |  |  |  |  | } | 
| 26 |  |  |  |  |  |  |  | 
| 27 |  |  |  |  |  |  | 1; |