Class: Twitch::EntitlementGrantUrl

Inherits:
Object
  • Object
show all
Defined in:
lib/twitch/entitlement_grant_url.rb

Overview

A URL that can be used to notify users of an entitlement.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ EntitlementGrantUrl

Returns a new instance of EntitlementGrantUrl.



10
11
12
# File 'lib/twitch/entitlement_grant_url.rb', line 10

def initialize(attributes = {})
  @url = attributes['url']
end

Instance Attribute Details

#urlObject (readonly)

The URL to upload an entitlement manifest. See the Twitch API documentation on how to use this.



8
9
10
# File 'lib/twitch/entitlement_grant_url.rb', line 8

def url
  @url
end