Class: Discorb::Presence::Activity::Timestamps

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

Overview

Represents the timestamps of an activity.

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #inspect

Instance Attribute Details

#endTime (readonly)



162
163
164
# File 'lib/discorb/presence.rb', line 162

def end
  @end
end

#startTime (readonly)



160
161
162
# File 'lib/discorb/presence.rb', line 160

def start
  @start
end