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