travis-api/lib/travis/api/app/endpoint/branches.rb
2012-10-03 13:14:01 +02:00

17 lines
376 B
Ruby

require 'travis/api/app'
class Travis::Api::App
class Endpoint
class Branches < Endpoint
get '/' do
respond_with all(params).run, type: :branches
end
# get '/:owner_name/:name/branches' do # v1
# get '/repos/:owner_name/:name/branches' do # v2
# respond_with all(params).run, type: :branches
# end
end
end
end