Module: GClouder::Resources::Compute::BGPVPNs::Cleaner

Defined in:
lib/gclouder/resources/compute/bgp-vpns.rb

Class Method Summary collapse

Class Method Details

.customObject



15
16
17
18
19
# File 'lib/gclouder/resources/compute/bgp-vpns.rb', line 15

def self.custom
  Proc.new do |local_resources, remote_resource|
    local_resources.select { |r| "bgp-vpn-#{r['name']}" == remote_resource }.length > 0
  end
end