Sha256: 7a49fa7b93ebb9be5c71ed9a8683a2122b1041d0ab671b1a0fa1cd2cf1342a05

Contents?: true

Size: 853 Bytes

Versions: 1

Compression:

Stored size: 853 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 UsersDiscoverablecontacts
          #
          # Look up an email address to see if someone is discoverable on Slack
          #
          # @option options [string] :email
          #   .
          # @see https://api.slack.com/methods/users.discoverableContacts.lookup
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/users.discoverableContacts/users.discoverableContacts.lookup.json
          def users_discoverableContacts_lookup(options = {})
            raise ArgumentError, 'Required arguments :email missing' if options[:email].nil?
            post('users.discoverableContacts.lookup', options)
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 lib/slack/web/api/endpoints/users_discoverableContacts.rb