Sha256: 1d10fe6213539e79bfb17aca404f1d7127def431688f8b5e98c11dd8b871350c

Contents?: true

Size: 455 Bytes

Versions: 4

Compression:

Stored size: 455 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.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

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-0.15.1 bin/commands/api.rb
slack-ruby-client-0.15.0 bin/commands/api.rb
slack-ruby-client-0.14.6 bin/commands/api.rb
slack-ruby-client-0.14.5 bin/commands/api.rb