Class: Google::Compute::Property::UrlMapTests

Inherits:
Puppet::Property
  • Object
show all
Defined in:
lib/google/compute/property/urlmap_tests.rb

Overview

A class to manage input to tests for url_map.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.api_munge(value) ⇒ Object

Used for parsing GCP API responses



137
138
139
140
# File 'lib/google/compute/property/urlmap_tests.rb', line 137

def self.api_munge(value)
  return if value.nil?
  Data::UrlMapTestsApi.new(value)
end

.unsafe_munge(value) ⇒ Object

Used for parsing Puppet catalog



131
132
133
134
# File 'lib/google/compute/property/urlmap_tests.rb', line 131

def self.unsafe_munge(value)
  return if value.nil?
  Data::UrlMapTestsCatalog.new(value)
end

Instance Method Details

#unsafe_munge(value) ⇒ Object

Used for parsing Puppet catalog



126
127
128
# File 'lib/google/compute/property/urlmap_tests.rb', line 126

def unsafe_munge(value)
  self.class.unsafe_munge(value)
end