bin/commands/team_billing.rb in slack-ruby-client-2.0.0 vs bin/commands/team_billing.rb in slack-ruby-client-2.1.0

- old
+ new

@@ -1,13 +1,19 @@ # frozen_string_literal: true # This file was auto-generated by lib/tasks/web.rake -desc 'TeamBilling methods.' -command 'team_billing' do |g| - g.desc "Reads a workspace's billing plan information." - g.long_desc %( Reads a workspace's billing plan information. ) - g.command 'info' do |c| - c.action do |_global_options, options, _args| - puts JSON.dump($client.team_billing_info(options)) +module Slack + module Cli + class App + desc 'TeamBilling methods.' + command 'team_billing' do |g| + g.desc "Reads a workspace's billing plan information." + g.long_desc %( Reads a workspace's billing plan information. ) + g.command 'info' do |c| + c.action do |_global_options, options, _args| + puts JSON.dump(@client.team_billing_info(options)) + end + end + end end end end