bin/commands/im.rb in slack-ruby-client-0.7.5 vs bin/commands/im.rb in slack-ruby-client-0.7.6

- old
+ new

@@ -44,9 +44,10 @@ g.desc 'This method opens a direct message channel with another member of your Slack team.' g.long_desc %( This method opens a direct message channel with another member of your Slack team. ) g.command 'open' do |c| c.flag 'user', desc: 'User to open a direct message channel with.' + c.flag 'return_im', desc: 'Boolean, indicates you want the full IM channel definition in the response.' c.action do |_global_options, options, _args| puts JSON.dump($client.im_open(options)) end end end