Module: Vox::HTTP::Routes

Included in:
Client
Defined in:
lib/vox/http/routes.rb,
lib/vox/http/routes/user.rb,
lib/vox/http/routes/emoji.rb,
lib/vox/http/routes/guild.rb,
lib/vox/http/routes/voice.rb,
lib/vox/http/routes/invite.rb,
lib/vox/http/routes/channel.rb,
lib/vox/http/routes/gateway.rb,
lib/vox/http/routes/webhook.rb,
lib/vox/http/routes/audit_log.rb

Overview

Module that contains all route containers.

Defined Under Namespace

Modules: AuditLog, Channel, Emoji, Gateway, Guild, Invite, User, Voice, Webhook

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object

Include all route containers if this module is included



18
19
20
# File 'lib/vox/http/routes.rb', line 18

def self.included(klass)
  constants.each { |m| klass.include const_get(m) }
end