Method: Codebot::Options::Integration#destroy

Defined in:
lib/codebot/options/integration.rb

#destroy(name) ⇒ Object

Destroys the integration with the specified name.

Parameters:

  • name (String)

    the name of the integration



63
64
65
66
67
# File 'lib/codebot/options/integration.rb', line 63

def destroy(name)
  Options.with_core(parent_options, true) do |core|
    IntegrationManager.new(core.config).destroy(name, options)
  end
end