Sha256: 985745869dfb272e3932cf86be122973f9eb9f519679228657bf2c4962021bc9

Contents?: true

Size: 288 Bytes

Versions: 2

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

module BackupRepos
  class BackupGitlab
    def process
      endpoints.each do |endpoint|
        BackupRepos::BackupGitlabEndpoint.new(endpoint).call
      end
    end

    private

    def endpoints
      BackupRepos.config.gitlab.to_a
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
backup_repos-0.5.0 lib/backup_repos/backup_gitlab.rb
backup_repos-0.4.0 lib/backup_repos/backup_gitlab.rb