Class: Discorb::ScheduledEvent::Metadata

Inherits:
Object
  • Object
show all
Defined in:
lib/discorb/event.rb

Overview

Represents the metadata of the event.

Instance Attribute Summary collapse

Instance Attribute Details

#location -> String? (readonly)

Returns The location of the event. Only present if the event is a external event.

Returns:

  • (String, nil)

    The location of the event. Only present if the event is a external event.



30
31
32
# File 'lib/discorb/event.rb', line 30

def location
  @location
end