Class: Rubycord::EmbedFooter

Inherits:
Object
  • Object
show all
Defined in:
lib/rubycord/data/embed.rb

Overview

An Embed footer for the embed object.

Instance Attribute Summary collapse

Instance Attribute Details

#embedEmbed (readonly)

Returns the embed object this is based on.

Returns:

  • (Embed)

    the embed object this is based on.



76
77
78
# File 'lib/rubycord/data/embed.rb', line 76

def embed
  @embed
end

#icon_urlString (readonly)

Returns the URL of the footer icon.

Returns:

  • (String)

    the URL of the footer icon.



82
83
84
# File 'lib/rubycord/data/embed.rb', line 82

def icon_url
  @icon_url
end

#proxy_icon_urlString (readonly)

Returns the proxied URL of the footer icon.

Returns:

  • (String)

    the proxied URL of the footer icon.



85
86
87
# File 'lib/rubycord/data/embed.rb', line 85

def proxy_icon_url
  @proxy_icon_url
end

#textString (readonly)

Returns the footer text.

Returns:

  • (String)

    the footer text.



79
80
81
# File 'lib/rubycord/data/embed.rb', line 79

def text
  @text
end