class Discorb::Presence::Activity::Asset

Represents the assets of an activity.

Attributes

large_id[R]

@return [String] The large image ID of the asset.

large_image[R]

@return [String] The large image ID of the asset.

large_text[R]

@return [String] The large text of the activity.

small_id[R]

@return [String] The small image ID of the activity.

small_image[R]

@return [String] The small image ID of the activity.

small_text[R]

@return [String] The small text of the activity.

Public Class Methods

new(data) click to toggle source
# File lib/discorb/presence.rb, line 189
def initialize(data)
  @large_image = data[:large_image]
  @large_text = data[:large_text]
  @small_image = data[:small_image]
  @small_text = data[:small_text]
end