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)
149 150 151 |
# File 'lib/discorb/integration.rb', line 149 def bot @bot end |
#description -> String (readonly)
Returns The description of the application.
144 145 146 |
# File 'lib/discorb/integration.rb', line 144 def description @description end |
#icon -> Asset? (readonly)
142 143 144 |
# File 'lib/discorb/integration.rb', line 142 def icon @icon end |
#id -> Discorb::Snowflake (readonly)
Returns The ID of the application.
137 138 139 |
# File 'lib/discorb/integration.rb', line 137 def id @id end |
#name -> String (readonly)
Returns The name of the application.
139 140 141 |
# File 'lib/discorb/integration.rb', line 139 def name @name end |
#summary -> String (readonly)
Returns The summary of the application.
146 147 148 |
# File 'lib/discorb/integration.rb', line 146 def summary @summary end |