Method: Yt::Models::PolicyRule#reference_duration
- Defined in:
- lib/yt/models/policy_rule.rb
#reference_duration ⇒ Array<Hash<Symbol, Float>>
Returns the intervals of duration that the reference must have for the rule to apply. :low is the minimum (inclusive) allowed value, :high is the maximum (inclusive) allowed value for the rule to apply.
73 74 75 |
# File 'lib/yt/models/policy_rule.rb', line 73 def reference_duration reference_duration_list.map{|r| low_and_high r} end |