Sha256: a3f917e2f25cac3d9084f85da765747c08d5524268e0bcf3145d2ae19bb04cc8

Contents?: true

Size: 1.05 KB

Versions: 7

Compression:

Stored size: 1.05 KB

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

desc 'CallsParticipants methods.'
command 'calls_participants' do |g|
  g.desc 'Registers new participants added to a Call.'
  g.long_desc %( Registers new participants added to a Call. )
  g.command 'add' do |c|
    c.flag 'id', desc: 'id returned by the calls.add method.'
    c.flag 'users', desc: 'The list of users to add as participants in the Call. Read more on how to specify users here.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.calls_participants_add(options))
    end
  end

  g.desc 'Registers participants removed from a Call.'
  g.long_desc %( Registers participants removed from a Call. )
  g.command 'remove' do |c|
    c.flag 'id', desc: 'id returned by the calls.add method.'
    c.flag 'users', desc: 'The list of users to remove as participants in the Call. Read more on how to specify users here.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.calls_participants_remove(options))
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slack-ruby-client-2.0.0 bin/commands/calls_participants.rb
slack-ruby-client-1.1.0 bin/commands/calls_participants.rb
slack-ruby-client-1.0.0 bin/commands/calls_participants.rb
slack-ruby-client-0.17.0 bin/commands/calls_participants.rb
slack-ruby-client-0.16.0 bin/commands/calls_participants.rb
slack-ruby-client-0.15.1 bin/commands/calls_participants.rb
slack-ruby-client-0.15.0 bin/commands/calls_participants.rb