Method: Codebot::Options::Network#update

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

#update(name) ⇒ Object

Updates the network with the specified name.

Parameters:

  • name (String)

    the name of the network



72
73
74
75
76
# File 'lib/codebot/options/network.rb', line 72

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