Method: Codebot::Options::Integration#create
- Defined in:
- lib/codebot/options/integration.rb
#create(name) ⇒ Object
Creates a new integration with the specified name.
28 29 30 31 32 33 |
# File 'lib/codebot/options/integration.rb', line 28 def create(name) Options.with_core(, true) do |core| map_channels!(, :channels) IntegrationManager.new(core.config).create(.merge(name: name)) end end |