File Coverage

blib/lib/Mojolicious/Plugin/Web/Auth/Site/Twitter.pm
Criterion Covered Total %
statement 3 4 75.0
branch n/a
condition n/a
subroutine 1 2 50.0
pod 0 1 0.0
total 4 7 57.1


line stmt bran cond sub pod time code
1             package Mojolicious::Plugin::Web::Auth::Site::Twitter;
2              
3 1     1   983 use Mojo::Base qw/Mojolicious::Plugin::Web::Auth::OAuth/;
  1         3  
  1         10  
4              
5             has is_v1a => 1;
6             has user_info => 1;
7             has request_token_url => 'https://api.twitter.com/oauth/request_token';
8             has authorize_url => 'https://api.twitter.com/oauth/authorize';
9             has access_token_url => 'https://api.twitter.com/oauth/access_token';
10             has user_info_url => 'https://api.twitter.com/1.1/account/verify_credentials.json';
11              
12 0     0 0   sub moniker { 'twitter' }
13              
14             1;