Module: Slack::Web::Api::Endpoints::UsersDiscoverablecontacts

Included in:
Slack::Web::Api::Endpoints
Defined in:
lib/slack/web/api/endpoints/users_discoverableContacts.rb

Instance Method Summary collapse

Instance Method Details

#users_discoverableContacts_lookup(options = {}) ⇒ Object

Look up an email address to see if someone is discoverable on Slack

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :email (string)

    .

Raises:

  • (ArgumentError)

See Also:



16
17
18
19
# File 'lib/slack/web/api/endpoints/users_discoverableContacts.rb', line 16

def users_discoverableContacts_lookup(options = {})
  raise ArgumentError, 'Required arguments :email missing' if options[:email].nil?
  post('users.discoverableContacts.lookup', options)
end