File Coverage

blib/lib/Mojolicious/Plugin/Web/Auth/Site/Instagram.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::Instagram;
2              
3 1     1   1316 use Mojo::Base qw/Mojolicious::Plugin::Web::Auth::OAuth2/;
  1         3  
  1         6  
4              
5             has user_info => 1;
6             has authorize_url => 'https://api.instagram.com/oauth/authorize';
7             has access_token_url => 'https://api.instagram.com/oauth/access_token';
8             has user_info_url => 'https://api.instagram.com/v1/users/self';
9             has response_type => 'code';
10              
11 0     0 0   sub moniker {'instagram'};
12              
13             1;