Sha256: dac99d67ef1daa847f9f67c003a8acb14c82ef1583fdff2d48aba0bc64347451
Contents?: true
Size: 1.11 KB
Versions: 14
Compression:
Stored size: 1.11 KB
Contents
# MuxRuby::ReferrerDomainRestriction ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **allowed_domains** | **Array<String>** | List of domains allowed to play videos. Possible values are * `[]` Empty Array indicates deny video playback requests for all domains * `[\"*\"]` A Single Wildcard `*` entry means allow video playback requests from any domain * `[\"*.example.com\", \"foo.com\"]` A list of up to 10 domains or valid dns-style wildcards | [optional] | | **allow_no_referrer** | **Boolean** | A boolean to determine whether to allow or deny HTTP requests without `Referer` HTTP request header. Playback requests coming from non-web/native applications like iOS, Android or smart TVs will not have a `Referer` HTTP header. Set this value to `true` to allow these playback requests. | [optional][default to false] | ## Example ```ruby require 'mux_ruby' instance = MuxRuby::ReferrerDomainRestriction.new( allowed_domains: null, allow_no_referrer: null ) ```
Version data entries
14 entries across 14 versions & 1 rubygems