Sha256: 7c6457d688ab19db6ed6b10be5e47ce3c918d3727f860b7feda9ddb3009393c6

Contents?: true

Size: 425 Bytes

Versions: 9

Compression:

Stored size: 425 Bytes

Contents

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

desc 'Api methods.'
command 'api' do |g|
  g.desc 'Checks API calling code.'
  g.long_desc %( Checks API 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

9 entries across 9 versions & 1 rubygems

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