Class: Discorb::Presence::Activity::Timestamps
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::Presence::Activity::Timestamps
- Defined in:
- lib/discorb/presence.rb
Overview
Represents the timestamps of an activity.
Instance Attribute Summary collapse
-
#end ⇒ Time
readonly
The end time of the activity.
-
#start ⇒ Time
readonly
The start time of the activity.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#end ⇒ Time (readonly)
Returns The end time of the activity.
162 163 164 |
# File 'lib/discorb/presence.rb', line 162 def end @end end |
#start ⇒ Time (readonly)
Returns The start time of the activity.
160 161 162 |
# File 'lib/discorb/presence.rb', line 160 def start @start end |