Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 628 Bytes

File metadata and controls

20 lines (14 loc) · 628 Bytes

MuxRuby::UserAgentRestrictionRequest

Properties

Name Type Description Notes
allow_no_user_agent Boolean Whether or not to allow views without a `User-Agent` HTTP request header. [optional][default to true]
allow_high_risk_user_agent Boolean Whether or not to allow high risk user agents. The high risk user agents are defined by Mux. [optional][default to true]

Example

require 'mux_ruby'

instance = MuxRuby::UserAgentRestrictionRequest.new(
  allow_no_user_agent: null,
  allow_high_risk_user_agent: null
)