class Discorb::Webhook::URLWebhook
Represents a webhook from URL.
Attributes
url[R]
@return [String] The URL of the webhook.
Public Class Methods
new(url)
click to toggle source
Initializes the webhook from URL.
@param [String] url The URL of the webhook.
# File lib/discorb/webhook.rb, line 198 def initialize(url) @url = url @token = "" @http = Discorb::HTTP.new(self) end