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

Version Path
mux_ruby-3.12.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.11.1 docs/ReferrerDomainRestriction.md
mux_ruby-3.11.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.9.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.8.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.7.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.6.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.5.2 docs/ReferrerDomainRestriction.md
mux_ruby-3.5.1 docs/ReferrerDomainRestriction.md
mux_ruby-3.5.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.4.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.3.1 docs/ReferrerDomainRestriction.md
mux_ruby-3.3.0 docs/ReferrerDomainRestriction.md
mux_ruby-3.2.0 docs/ReferrerDomainRestriction.md