NAME

Net::Async::TravisCI - interact with the Travis CI API

VERSION

version 0.002

DESCRIPTION

Does things to Travis. Terrible, nasty things, most of which are sadly not yet documented.

configure

Applies configuration, which at the moment would involve zero or more of the following named parameters:

endpoints

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

endpoint

Processes the given endpoint as a template, using the named parameters passed to the method.

http

Returns the HTTP instance used for communicating with Travis.

Currently autocreates a Net::Async::HTTP instance.

auth_info

Returns authentication info as parameters suitable for the "http" methods.

api_key

Github API key.

token

Travis token.

mime_type

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

base_uri

Base URI for Travis requests.

Hardcoded to the private Travis CI server, https://api.travis-ci.com.

http_get

Issues an HTTP GET request.

http_post

Performs an HTTP POST request.

github_token

Sets the github token.

accounts

Retrieves accounts.

users

Retrieves users.

jobs

Retrieves jobs.

cancel_job

Cancels a specific job by ID.

pusher_auth

Deals with pusher auth, used for tailing logs.

pusher

Handles the pusher instance.

config

Applies Travis config.

INHERITED METHODS

IO::Async::Notifier

add_child, adopt_future, can_event, children, configure_unknown, debug_printf, get_loop, invoke_error, invoke_event, loop, make_event_cb, maybe_invoke_event, maybe_make_event_cb, new, notifier_name, parent, remove_child, remove_from_parent

AUTHOR

Tom Molesworth <TEAM@cpan.org>

LICENSE

Copyright Tom Molesworth 2015-2017. Licensed under the same terms as Perl itself.