
To eradicate unnecessary inconsistency. Spec to test the existing `GET logs/:id` remains.
14 lines
264 B
Ruby
14 lines
264 B
Ruby
require 'travis/api/app'
|
|
|
|
class Travis::Api::App
|
|
class Endpoint
|
|
# Logs are generated by builds.
|
|
class Logs < Endpoint
|
|
# Fetches a log by its *id*.
|
|
get '/:id' do |id|
|
|
respond_with service(:find_log, params)
|
|
end
|
|
end
|
|
end
|
|
end
|