| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Net::Twitter::Lite::WithAPIv1_1; | 
| 2 |  |  |  |  |  |  | $Net::Twitter::Lite::WithAPIv1_1::VERSION = '0.12007'; | 
| 3 | 2 |  |  | 2 |  | 91854 | use warnings; | 
|  | 2 |  |  |  |  | 3 |  | 
|  | 2 |  |  |  |  | 78 |  | 
| 4 | 2 |  |  | 2 |  | 7 | use strict; | 
|  | 2 |  |  |  |  | 4 |  | 
|  | 2 |  |  |  |  | 46 |  | 
| 5 | 2 |  |  | 2 |  | 876 | use parent 'Net::Twitter::Lite'; | 
|  | 2 |  |  |  |  | 529 |  | 
|  | 2 |  |  |  |  | 27 |  | 
| 6 |  |  |  |  |  |  |  | 
| 7 |  |  |  |  |  |  | =head1 NAME | 
| 8 |  |  |  |  |  |  |  | 
| 9 |  |  |  |  |  |  | Net::Twitter::Lite::WithAPIv1_1 - A perl API library for Twitter's API v1.1 | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | =head1 VERSION | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | version 0.12007 | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | =cut | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | sub twitter_api_def_from           () { 'Net::Twitter::Lite::API::V1_1' } | 
| 18 |  |  |  |  |  |  | sub _default_api_url               () { 'http://api.twitter.com/1.1'    } | 
| 19 |  |  |  |  |  |  | sub _default_searchapiurl          () { 'http://search.twitter.com'     } | 
| 20 |  |  |  |  |  |  | sub _default_search_trends_api_url () { 'http://api.twitter.com/1.1'    } | 
| 21 |  |  |  |  |  |  | sub _default_lists_api_url         () { 'http://api.twitter.com/1.1'    } | 
| 22 |  |  |  |  |  |  |  | 
| 23 |  |  |  |  |  |  | sub new { | 
| 24 | 3 |  |  | 3 | 1 | 1605 | my $class = shift; | 
| 25 | 3 |  |  |  |  | 9 | my %options = @_; | 
| 26 |  |  |  |  |  |  |  | 
| 27 |  |  |  |  |  |  | # Twitter now requires SSL connections. Make it the default. | 
| 28 | 3 | 50 |  |  |  | 11 | unless ( exists $options{ssl} ) { | 
| 29 | 0 |  |  |  |  | 0 | $options{ssl} = 1; | 
| 30 |  |  |  |  |  |  | } | 
| 31 |  |  |  |  |  |  |  | 
| 32 | 3 |  |  |  |  | 22 | return $class->SUPER::new(legacy_lists_api => 0, %options); | 
| 33 |  |  |  |  |  |  | } | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | 1; |