diff --git a/README b/README index 96c22f3..f27236b 100644 --- a/README +++ b/README @@ -25,7 +25,7 @@ SYNOPSIS # 2. Decrypt the found file (if necessary) read, and parse it # 3. Throw an exception unless %identity has 'login' and 'token' defined - my %identity = Config::Identity::PAUSE->load; + my %identity = Config::Identity::GitHub->load; print "login: $identity{login} token: $identity{token}\n"; DESCRIPTION diff --git a/dist.ini b/dist.ini index 44f83cb..b4ed552 100644 --- a/dist.ini +++ b/dist.ini @@ -14,6 +14,7 @@ include_dotfiles = 1 [ExecDir] +[GithubMeta] [Prereqs / TestRequires] Test::Most = 0 diff --git a/lib/Config/Identity.pm b/lib/Config/Identity.pm index a25f1a5..ff427d5 100644 --- a/lib/Config/Identity.pm +++ b/lib/Config/Identity.pm @@ -22,7 +22,7 @@ GitHub API: # 2. Decrypt the found file (if necessary) read, and parse it # 3. Throw an exception unless %identity has 'login' and 'token' defined - my %identity = Config::Identity::PAUSE->load; + my %identity = Config::Identity::GitHub->load; print "login: $identity{login} token: $identity{token}\n"; =head1 DESCRIPTION