11 lines
267 B
Ruby
11 lines
267 B
Ruby
module Travis::API::V3
|
|
class Services::Cron::ForBranch < Service
|
|
|
|
def run!
|
|
repo = find(:repository)
|
|
raise InsufficientAccess unless Travis::Features.owner_active?(:cron, repo.owner)
|
|
query.find_for_branch(find(:branch, repo))
|
|
end
|
|
end
|
|
end
|