Sha256: 39b387b944743771e3aeb50542ce8a6da04d26b46abec5821e5160b6047c5f6b

Contents?: true

Size: 1.1 KB

Versions: 7

Compression:

Stored size: 1.1 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

7 entries across 7 versions & 1 rubygems

Version Path
mux_ruby-3.20.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.19.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.18.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.17.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.15.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.14.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.13.0 docs/ReferrerDomainRestriction.md