Class: Slack::API
- Inherits:
-
Object
- Object
- Slack::API
- Includes:
- Connection, Endpoint, Request
- Defined in:
- lib/slack/api.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
Creates a new API.
- #realtime ⇒ Object
Methods included from Endpoint::Users
#users_deletePhoto, #users_getPresence, #users_identity, #users_info, #users_list, #users_lookupByEmail, #users_profile_get, #users_profile_set, #users_setActive, #users_setPhoto, #users_setPresence
Methods included from Endpoint::Usergroups
#usergroups_create, #usergroups_disable, #usergroups_enable, #usergroups_list, #usergroups_update, #usergroups_users_list, #usergroups_users_update
Methods included from Endpoint::Team
#team_accessLogs, #team_billableInfo, #team_info, #team_integrationLogs, #team_profile_get
Methods included from Endpoint::Stars
#stars_add, #stars_list, #stars_remove
Methods included from Endpoint::Search
#search_all, #search_files, #search_messages
Methods included from Endpoint::Reminders
#reminders_add, #reminders_complete, #reminders_delete, #reminders_info, #reminders_list
Methods included from Endpoint::Reactions
#reactions_add, #reactions_get, #reactions_list, #reactions_remove
Methods included from Endpoint::Presence
Methods included from Endpoint::Pins
#pins_add, #pins_list, #pins_remove
Methods included from Endpoint::Oauth
Methods included from Endpoint::Mpim
#mpim_close, #mpim_history, #mpim_list, #mpim_mark, #mpim_open, #mpim_replies
Methods included from Endpoint::Migration
Methods included from Endpoint::Im
#im_close, #im_history, #im_list, #im_mark, #im_open, #im_replies
Methods included from Endpoint::Idpgroups
Methods included from Endpoint::Groups
#groups_archive, #groups_close, #groups_create, #groups_createChild, #groups_history, #groups_info, #groups_invite, #groups_kick, #groups_leave, #groups_list, #groups_mark, #groups_open, #groups_rename, #groups_replies, #groups_setPurpose, #groups_setTopic, #groups_unarchive
Methods included from Endpoint::Files
#files_comments_add, #files_comments_delete, #files_comments_edit, #files_delete, #files_info, #files_list, #files_revokePublicURL, #files_sharedPublicURL, #files_startPartialUpload, #files_upload
Methods included from Endpoint::Emoji
Methods included from Endpoint::Dnd
#dnd_endDnd, #dnd_endSnooze, #dnd_info, #dnd_setSnooze, #dnd_teamInfo
Methods included from Endpoint::Discovery
#discovery_file_restore, #discovery_file_tombstone
Methods included from Endpoint::Dialog
Methods included from Endpoint::Conversations
#conversations_archive, #conversations_close, #conversations_create, #conversations_history, #conversations_info, #conversations_invite, #conversations_join, #conversations_kick, #conversations_leave, #conversations_list, #conversations_members, #conversations_open, #conversations_rename, #conversations_replies, #conversations_setPurpose, #conversations_setTopic, #conversations_unarchive
Methods included from Endpoint::Chat
#chat_delete, #chat_getPermalink, #chat_meMessage, #chat_postEphemeral, #chat_postMessage, #chat_unfurl, #chat_update
Methods included from Endpoint::Channels
#channels_archive, #channels_create, #channels_history, #channels_info, #channels_invite, #channels_join, #channels_kick, #channels_leave, #channels_list, #channels_mark, #channels_rename, #channels_replies, #channels_setPurpose, #channels_setTopic, #channels_unarchive
Methods included from Endpoint::Bots
Methods included from Endpoint::Auth
Methods included from Endpoint::Apps
#apps_permissions_info, #apps_permissions_request
Methods included from Endpoint::Api
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ API
Creates a new API
14 15 16 17 18 19 |
# File 'lib/slack/api.rb', line 14 def initialize(={}) = Slack..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |