Method: Megam::Mixins::Policies#to_array
- Defined in:
- lib/megam/mixins/policies.rb
#to_array ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/megam/mixins/policies.rb', line 11 def to_array com = [] if @bind_type && @bind_type != 'Unbound service' value = { name: 'bind policy', ptype: 'colocated', members: [ @policymembers ] } com << value end com end |