Class: Discorb::Integration::Application
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::Integration::Application
- Defined in:
- lib/discorb/integration.rb
Overview
Represents an application for an integration.
Instance Attribute Summary collapse
- #bot -> Discorb::User? readonly
-
#description -> String
readonly
The description of the application.
- #icon -> Asset? readonly
-
#id -> Discorb::Snowflake
readonly
The ID of the application.
-
#name -> String
readonly
The name of the application.
-
#summary -> String
readonly
The summary of the application.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#bot -> Discorb::User? (readonly)
130 131 132 |
# File 'lib/discorb/integration.rb', line 130 def bot @bot end |
#description -> String (readonly)
Returns The description of the application.
125 126 127 |
# File 'lib/discorb/integration.rb', line 125 def description @description end |
#icon -> Asset? (readonly)
123 124 125 |
# File 'lib/discorb/integration.rb', line 123 def icon @icon end |
#id -> Discorb::Snowflake (readonly)
Returns The ID of the application.
118 119 120 |
# File 'lib/discorb/integration.rb', line 118 def id @id end |
#name -> String (readonly)
Returns The name of the application.
120 121 122 |
# File 'lib/discorb/integration.rb', line 120 def name @name end |
#summary -> String (readonly)
Returns The summary of the application.
127 128 129 |
# File 'lib/discorb/integration.rb', line 127 def summary @summary end |