Class: DeviceAtlas::Device::ClientPropsRuleSet
- Inherits:
-
Object
- Object
- DeviceAtlas::Device::ClientPropsRuleSet
- Defined in:
- lib/deviceatlas/device/client_props_rule_set.rb
Overview
Client side rules are wrapped in instances of this class.
Instance Attribute Summary collapse
-
#rule_set_parsed ⇒ Hash
readonly
The set of client side rules.
-
#user_agent_tree_properties ⇒ Hash
readonly
The User-Agent tree properties used for a specific set of client side rules.
Instance Method Summary collapse
-
#initialize(user_agent_tree_properties, rule_set_parsed) ⇒ ClientPropsRuleSet
constructor
Creates a new DeviceAtlas::Device::ClientPropsRuleSet instance.
Constructor Details
#initialize(user_agent_tree_properties, rule_set_parsed) ⇒ ClientPropsRuleSet
Creates a new DeviceAtlas::Device::ClientPropsRuleSet instance.
Instance Attribute Details
#rule_set_parsed ⇒ Hash (readonly)
The set of client side rules.
#user_agent_tree_properties ⇒ Hash (readonly)
The User-Agent tree properties used for a specific set of client side rules.