travis-api/lib/travis/api/v3/services/log/find.rb
Joe Corcoran 316947b7c0 Add simplest log endpoint
Just an excuse to get all the boilerplate classes in place :)
2016-07-19 18:10:34 +02:00

11 lines
167 B
Ruby

module Travis::API::V3
class Services::Log::Find < Service
params :id, prefix: :job
def run!
job = find(:job)
query.find(job)
end
end
end