class Discorb::Embed::Provider

Represents a provider of embed.

Attributes

name[R]

@return [String] The name of provider.

url[R]

@return [String] The url of provider.

Public Class Methods

new(data) click to toggle source

@!visibility private

# File lib/discorb/embed.rb, line 339
def initialize(data)
  @name = data[:name]
  @url = data[:url]
end