Sha256: db65e98736a0f69e2c650957e765918ff6af5b0ca591bf973f74e81cc21c707d

Contents?: true

Size: 401 Bytes

Versions: 5

Compression:

Stored size: 401 Bytes

Contents

# frozen_string_literal: true
# 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.action do |_global_options, options, _args|
      puts JSON.dump($client.api_test(options))
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-client-2.0.0 bin/commands/api.rb
slack-ruby-client-1.1.0 bin/commands/api.rb
slack-ruby-client-1.0.0 bin/commands/api.rb
slack-ruby-client-0.17.0 bin/commands/api.rb
slack-ruby-client-0.16.0 bin/commands/api.rb