Class: RubyCord::User::Activity::Timestamps
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- RubyCord::User::Activity::Timestamps
- Defined in:
- lib/rubycord/user/activity.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.
113 114 115 |
# File 'lib/rubycord/user/activity.rb', line 113 def end @end end |
#start ⇒ Time (readonly)
Returns The start time of the activity.
111 112 113 |
# File 'lib/rubycord/user/activity.rb', line 111 def start @start end |