class Devpad::CLI::Commands::Repository::Unprotect

Public Class Methods

new(shell:) click to toggle source
# File lib/devpad/cli/commands/repository/unprotect.rb, line 6
def initialize(shell:)
  @shell = shell
end

Public Instance Methods

execute(params = {}) click to toggle source
# File lib/devpad/cli/commands/repository/unprotect.rb, line 10
def execute(params = {})
  repository = Devpad::API::Repository.unprotect(params)
  @shell.say repository.token
end