Sha256: 0ec8c2fd5cd3e4a91eda071df6a86ae5f57315364a4fe3c53daffccd59f9977b

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

require_relative "repository"

module GithubSnapshot

  class Organization

    attr_reader :name, :repos

    def initialize(name, repos)
      @name   = name
      @repos  = repos
    end

    def backup
      repos.to_a.each do |repo|
        repository = Repository.new repo, self
        repository.backup
      end
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
github_snapshot-0.1.1 lib/github_snapshot/organization.rb