Class: Twitch::EntitlementGrantUrl
- Inherits:
-
Object
- Object
- Twitch::EntitlementGrantUrl
- 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
-
#url ⇒ Object
readonly
The URL to upload an entitlement manifest.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ EntitlementGrantUrl
constructor
A new instance of EntitlementGrantUrl.
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
#url ⇒ Object (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 |