Class: RubyCord::Guild::Event::Metadata
- Inherits:
-
Object
- Object
- RubyCord::Guild::Event::Metadata
- Defined in:
- lib/rubycord/guild/event.rb
Overview
Represents the metadata of the event.
Instance Attribute Summary collapse
-
#location ⇒ String?
readonly
The location of the event.
Instance Method Summary collapse
-
#inspect ⇒ String
Object class and attributes.
Instance Attribute Details
#location ⇒ String? (readonly)
Returns The location of the event. Only present if the event is a external event.
36 37 38 |
# File 'lib/rubycord/guild/event.rb', line 36 def location @location end |
Instance Method Details
#inspect ⇒ String
Returns Object class and attributes.
44 45 46 |
# File 'lib/rubycord/guild/event.rb', line 44 def inspect "#<#{self.class.name} #{@name}>" end |