15 lines
311 B
Ruby
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
|