travis-api/lib/travis/api/app/endpoint/artifacts.rb
2012-10-02 19:10:29 +02:00

15 lines
311 B
Ruby

require 'travis/api/app'
class Travis::Api::App
class Endpoint
# Artifacts are generated by builds. Currently we only expose logs as
# artifacts
class Artifacts < Endpoint
# Fetches an artifact by it's *id*.
get '/:id' do |id|
body one(params).run
end
end
end
end