Sha256: 3567ca44dffeadd7e307b672829de59b2d9797ec5f8661bab7c1d464ecb21387

Contents?: true

Size: 1010 Bytes

Versions: 1

Compression:

Stored size: 1010 Bytes

Contents

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

module Slack
  module Web
    module Api
      module Endpoints
        module AdminAnalytics
          #
          # Retrieve analytics data for a given date, presented as a compressed JSON file
          #
          # @option options [Object] :type
          #   The type of analytics to retrieve. The options are currently limited to member.
          # @option options [Object] :date
          #   Date to retrieve the analytics data for, expressed as YYYY-MM-DD in UTC.
          # @see https://api.slack.com/methods/admin.analytics.getFile
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.analytics/admin.analytics.getFile.json
          def admin_analytics_getFile(options = {})
            throw ArgumentError.new('Required arguments :type missing') if options[:type].nil?
            post('admin.analytics.getFile', options)
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-client-0.16.0 lib/slack/web/api/endpoints/admin_analytics.rb