Module: Slack
- Extended by:
- Configuration
- Defined in:
- lib/slack/endpoint/im.rb,
lib/slack.rb,
lib/slack/api.rb,
lib/slack/error.rb,
lib/slack/client.rb,
lib/slack/request.rb,
lib/slack/version.rb,
lib/slack/endpoint.rb,
lib/slack/connection.rb,
lib/slack/endpoint/api.rb,
lib/slack/endpoint/dnd.rb,
lib/slack/configuration.rb,
lib/slack/endpoint/apps.rb,
lib/slack/endpoint/auth.rb,
lib/slack/endpoint/bots.rb,
lib/slack/endpoint/chat.rb,
lib/slack/endpoint/mpim.rb,
lib/slack/endpoint/pins.rb,
lib/slack/endpoint/team.rb,
lib/slack/endpoint/emoji.rb,
lib/slack/endpoint/files.rb,
lib/slack/endpoint/oauth.rb,
lib/slack/endpoint/stars.rb,
lib/slack/endpoint/users.rb,
lib/slack/endpoint/dialog.rb,
lib/slack/endpoint/groups.rb,
lib/slack/endpoint/search.rb,
lib/slack/realtime/client.rb,
lib/slack/endpoint/channels.rb,
lib/slack/endpoint/presence.rb,
lib/slack/endpoint/discovery.rb,
lib/slack/endpoint/idpgroups.rb,
lib/slack/endpoint/migration.rb,
lib/slack/endpoint/reactions.rb,
lib/slack/endpoint/reminders.rb,
lib/slack/endpoint/usergroups.rb,
lib/slack/endpoint/conversations.rb
Overview
This file was auto-generated by lib/generators/tasks/generate.rb
Defined Under Namespace
Modules: Configuration, Connection, Endpoint, RealTime, Request Classes: API, BadRequest, Client, Error, InternalServerError, InvalidSignature, NotFound, ServiceUnavailable
Constant Summary collapse
- VERSION =
"1.6.1"
Constants included from Configuration
Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_CA_FILE, Configuration::DEFAULT_CA_PATH, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_MIDDLEWARES, Configuration::DEFAULT_PROXY, Configuration::DEFAULT_TOKEN, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.client(options = {}) ⇒ Slack::Client
Alias for Slack::Client.new.
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to Slack::Client.
-
.respond_to?(method, include_all = false) ⇒ Boolean
Delegate to Slack::Client.
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.client(options = {}) ⇒ Slack::Client
Alias for Slack::Client.new
13 14 15 |
# File 'lib/slack.rb', line 13 def self.client(={}) Slack::Client.new() end |
.method_missing(method, *args, &block) ⇒ Object
Delegate to Slack::Client
18 19 20 21 |
# File 'lib/slack.rb', line 18 def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |
.respond_to?(method, include_all = false) ⇒ Boolean
Delegate to Slack::Client
24 25 26 |
# File 'lib/slack.rb', line 24 def self.respond_to?(method, include_all=false) return client.respond_to?(method, include_all) || super end |