Sha256: 56ff719f98ab1d7116d695dd3e3a9b880bdd27f63051db0c977ed05cce2fdc8c

Contents?: true

Size: 519 Bytes

Versions: 9

Compression:

Stored size: 519 Bytes

Contents

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

desc 'Dialog methods.'
command 'dialog' do |g|
  g.desc 'Open a dialog with a user'
  g.long_desc %( Open a dialog with a user )
  g.command 'open' do |c|
    c.flag 'dialog', desc: 'The dialog definition. This must be a JSON-encoded string.'
    c.flag 'trigger_id', desc: 'Exchange a trigger to post to the user.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.dialog_open(options))
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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