Group
Extension

Matches 2

Net-Async-TravisCI ( T/TE/TEAM/Net-Async-TravisCI-0.002.tar.gz, TEAM, 2017; MetaCPAN )
Net-Async-TravisCI/lib/Net/Async/TravisCI.pm ( view source; MetaCPAN )
t yet documented.

=cut

no indirect;

use Future;
use Dir::Self;
use URI;
use URI::Template;
use JSON::MaybeXS;
use Syntax::Keyword::Try;

use File::ShareDir ();
use Log::Any qw($log);
use Path::Tiny
:Async::TravisCI::Config;
use Net::Async::TravisCI::Job;
use Net::Async::TravisCI::Build;

my $json = JSON::MaybeXS->new;

=head2 configure

Applies configuration, which at the moment would involve ze
<share/endpoints.json> file.

=cut

sub endpoints {
	my ($self) = @_;
	$self->{endpoints} ||= do {
        my $path = Path::Tiny::path(__DIR__)->parent(3)->child('share/endpoints.json');
        $path
Net-Async-TravisCI ( T/TE/TEAM/Net-Async-TravisCI-0.002.tar.gz, TEAM, 2017; MetaCPAN )
Net-Async-TravisCI/lib/Net/Async/TravisCI.pod ( view source; MetaCPAN )
ints

Returns the hashref of API endpoints, loading them on first call from the C<share/endpoints.json> file.

=head2 endpoint

Processes the given endpoint as a template, using the named parameters
p
ravis token.

=head2 mime_type

MIME type to use for requests. Hardcoded default to C<travis-ci.2+json>.

=head2 base_uri

Base URI for Travis requests.

Hardcoded to the B<private> Travis CI server, 

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.