lib/slack/web/api/endpoints/team.rb in slack-ruby-client-0.7.4 vs lib/slack/web/api/endpoints/team.rb in slack-ruby-client-0.7.5

- old
+ new

@@ -13,9 +13,22 @@ def team_accessLogs(options = {}) post('team.accessLogs', options) end # + # This method lists billable information for each user on the team. Currently this consists solely of whether the user is + # subject to billing per Slack's Fair Billing policy. + # + # @option options [user] :user + # A user to retrieve the billable information for. Defaults to all users. + # @see https://api.slack.com/methods/team.billableInfo + # @see https://github.com/dblock/slack-api-ref/blob/master/methods/team/team.billableInfo.json + def team_billableInfo(options = {}) + options = options.merge(user: users_id(options)['user']['id']) if options[:user] + post('team.billableInfo', options) + end + + # # This method provides information about your team. # # @see https://api.slack.com/methods/team.info # @see https://github.com/dblock/slack-api-ref/blob/master/methods/team/team.info.json def team_info(options = {})