Sha256: 5ed0f87521f42f465f4fb41794116a31c5ced77e3d5d7227adcfcf294666172a

Contents?: true

Size: 489 Bytes

Versions: 7

Compression:

Stored size: 489 Bytes

Contents

# 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

7 entries across 7 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.1 bin/commands/dialog.rb
slack-ruby-client-0.14.0 bin/commands/dialog.rb
slack-ruby-client-0.13.1 bin/commands/dialog.rb
slack-ruby-client-0.13.0 bin/commands/dialog.rb
slack-ruby-client-0.12.0 bin/commands/dialog.rb
slack-ruby-client-0.11.1 bin/commands/dialog.rb
slack-ruby-client-0.11.0 bin/commands/dialog.rb