Sha256: aabbf2a527a51a79114681f81015e1f85ba37e1258417c8bd5cc59c740d5c4e4

Contents?: true

Size: 525 Bytes

Versions: 4

Compression:

Stored size: 525 Bytes

Contents

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

module Slack
  module Cli
    class App
      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
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 bin/commands/api.rb
slack-ruby-client-2.3.0 bin/commands/api.rb
slack-ruby-client-2.2.0 bin/commands/api.rb
slack-ruby-client-2.1.0 bin/commands/api.rb