2014-01-16 13:36:51 -05:00
|
|
|
require_relative "base_service"
|
2013-12-10 07:15:08 -05:00
|
|
|
|
2013-11-05 05:21:11 -05:00
|
|
|
module Files
|
2015-08-11 08:33:31 -04:00
|
|
|
class UpdateService < Files::BaseService
|
|
|
|
def commit
|
2015-09-17 01:45:22 -04:00
|
|
|
repository.commit_file(current_user, @file_path, @file_content, @commit_message, @target_branch, true)
|
2013-11-05 05:21:11 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|