Sha256: 559f2cdc71741220f08d4111691f6310da36d4e04a5a8dde23c6a309cb08870d

Contents?: true

Size: 486 Bytes

Versions: 7

Compression:

Stored size: 486 Bytes

Contents

# This file was auto-generated by lib/slack/web/api/tasks/generate.rake

desc 'Api methods.'
command 'api' do |g|
  g.desc 'This method helps you test your calling code.'
  g.long_desc %( This method helps you test your calling code. )
  g.command 'test' do |c|
    c.flag 'error', desc: 'Error response to return.'
    c.flag 'foo', desc: 'example property to return.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.api_test(options))
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
slack-ruby-client-bhe-0.5.5 bin/commands/api.rb
slack-ruby-client-bhe-0.5.4 bin/commands/api.rb
slack-ruby-client-0.5.4 bin/commands/api.rb
slack-ruby-client-0.5.3 bin/commands/api.rb
slack-ruby-client-0.5.2 bin/commands/api.rb
slack-ruby-client-0.5.1 bin/commands/api.rb
slack-ruby-client-0.5.0 bin/commands/api.rb