| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package WebService::OpenSky::Response::Flights; | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | # ABSTRACT: A class representing a flights response from the OpenSky Network API | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 8 |  |  | 8 |  | 58 | use WebService::OpenSky::Moose; | 
|  | 8 |  |  |  |  | 16 |  | 
|  | 8 |  |  |  |  | 64 |  | 
| 6 | 8 |  |  | 8 |  | 113851 | use WebService::OpenSky::Core::Flight; | 
|  | 8 |  |  |  |  | 231417 |  | 
|  | 8 |  |  |  |  | 1702 |  | 
| 7 |  |  |  |  |  |  | extends 'WebService::OpenSky::Response'; | 
| 8 |  |  |  |  |  |  |  | 
| 9 |  |  |  |  |  |  | our $VERSION = '0.3'; | 
| 10 |  |  |  |  |  |  |  | 
| 11 | 8 | 50 |  | 8 |  | 30 | method _create_response_objects() { | 
|  | 8 | 50 |  |  |  | 25 |  | 
|  | 8 |  |  |  |  | 13 |  | 
|  | 8 |  |  |  |  | 10 |  | 
| 12 | 8 |  |  |  |  | 32 | return [ map { WebService::OpenSky::Core::Flight->new($_) } $self->raw_response->@* ]; | 
|  | 7 |  |  |  |  | 5358 |  | 
| 13 |  |  |  |  |  |  | } | 
| 14 |  |  |  |  |  |  |  | 
| 15 | 4 | 50 |  | 4 |  | 16 | method _empty_response() { | 
|  | 4 | 50 |  |  |  | 17 |  | 
|  | 4 |  |  |  |  | 11 |  | 
|  | 4 |  |  |  |  | 5 |  | 
| 16 | 4 |  |  |  |  | 16 | return []; | 
| 17 |  |  |  |  |  |  | } | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | __END__ | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | =pod | 
| 22 |  |  |  |  |  |  |  | 
| 23 |  |  |  |  |  |  | =encoding UTF-8 | 
| 24 |  |  |  |  |  |  |  | 
| 25 |  |  |  |  |  |  | =head1 NAME | 
| 26 |  |  |  |  |  |  |  | 
| 27 |  |  |  |  |  |  | WebService::OpenSky::Response::Flights - A class representing a flights response from the OpenSky Network API | 
| 28 |  |  |  |  |  |  |  | 
| 29 |  |  |  |  |  |  | =head1 VERSION | 
| 30 |  |  |  |  |  |  |  | 
| 31 |  |  |  |  |  |  | version 0.3 | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | This class inherits from L<WebService::OpenSky::Response>. Please see that | 
| 36 |  |  |  |  |  |  | module for the available methods. Individual responses are from the | 
| 37 |  |  |  |  |  |  | L<WebService::OpenSky::Core::Flight> class. | 
| 38 |  |  |  |  |  |  |  | 
| 39 |  |  |  |  |  |  | =head1 AUTHOR | 
| 40 |  |  |  |  |  |  |  | 
| 41 |  |  |  |  |  |  | Curtis "Ovid" Poe <curtis.poe@gmail.com> | 
| 42 |  |  |  |  |  |  |  | 
| 43 |  |  |  |  |  |  | =head1 COPYRIGHT AND LICENSE | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | This software is Copyright (c) 2023 by Curtis "Ovid" Poe. | 
| 46 |  |  |  |  |  |  |  | 
| 47 |  |  |  |  |  |  | This is free software, licensed under: | 
| 48 |  |  |  |  |  |  |  | 
| 49 |  |  |  |  |  |  | The Artistic License 2.0 (GPL Compatible) | 
| 50 |  |  |  |  |  |  |  | 
| 51 |  |  |  |  |  |  | =cut |