Sha256: 8132b9ff313d8446dda78b4106625e3cb6141f1500e32783e8bfe8e138fdc6ee
Contents?: true
Size: 534 Bytes
Versions: 1
Compression:
Stored size: 534 Bytes
Contents
module Gerd module Inspections module Actions class CreateRepo def initialize(repo_to_create, org, privacy = false) @org = org @repo = repo_to_create @privacy = privacy end def invoke(client, options = {}) puts "Creating #{@org}/#{@repo}" opts = { :organization => @org, :private => @privacy } res = client.create_repo(@repo, { :organization => @org }) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gerd-0.0.1 | lib/gerd/inspections/actions/create_repo.rb |