Class: RubyCord::Integration::Application
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- RubyCord::Integration::Application
- Defined in:
- lib/rubycord/integration.rb
Overview
Represents an application for an integration.
Instance Attribute Summary collapse
- #bot ⇒ RubyCord::User? readonly
-
#description ⇒ String
readonly
The description of the application.
- #icon ⇒ Asset? readonly
-
#id ⇒ RubyCord::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 ⇒ RubyCord::User? (readonly)
150 151 152 |
# File 'lib/rubycord/integration.rb', line 150 def bot @bot end |
#description ⇒ String (readonly)
Returns The description of the application.
145 146 147 |
# File 'lib/rubycord/integration.rb', line 145 def description @description end |
#icon ⇒ Asset? (readonly)
143 144 145 |
# File 'lib/rubycord/integration.rb', line 143 def icon @icon end |
#id ⇒ RubyCord::Snowflake (readonly)
Returns The ID of the application.
138 139 140 |
# File 'lib/rubycord/integration.rb', line 138 def id @id end |
#name ⇒ String (readonly)
Returns The name of the application.
140 141 142 |
# File 'lib/rubycord/integration.rb', line 140 def name @name end |
#summary ⇒ String (readonly)
Returns The summary of the application.
147 148 149 |
# File 'lib/rubycord/integration.rb', line 147 def summary @summary end |