Class: DiscordRDA::Application
- Defined in:
- lib/discord_rda/entity/support.rb
Instance Attribute Summary
Attributes inherited from Entity
Instance Method Summary collapse
Methods inherited from Entity
#==, attribute, #created_at, from_hash, #hash, #initialize, #inspect, #to_h, #to_json
Constructor Details
This class inherits a constructor from DiscordRDA::Entity
Instance Method Details
#owner ⇒ Object
519 520 521 |
# File 'lib/discord_rda/entity/support.rb', line 519 def owner @owner ||= User.new(@raw_data['owner']) if @raw_data['owner'] end |
#team ⇒ Object
523 524 525 |
# File 'lib/discord_rda/entity/support.rb', line 523 def team @team ||= Team.new(@raw_data['team']) if @raw_data['team'] end |