travis-api/lib/travis/api/app/endpoint/logs.rb
Hiro Asari dfffe8e405 Remove PATCH logs/:job_id endpoint
To eradicate unnecessary inconsistency.

Spec to test the existing `GET logs/:id` remains.
2014-06-12 07:20:47 -04:00

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