Class: Google::Compute::Property::UrlMapPathRules
- Inherits:
-
Puppet::Property
- Object
- Puppet::Property
- Google::Compute::Property::UrlMapPathRules
- Defined in:
- lib/google/compute/property/urlmap_path_rules.rb
Overview
A class to manage input to path_rules for url_map.
Class Method Summary collapse
-
.api_munge(value) ⇒ Object
Used for parsing GCP API responses.
-
.unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog.
Instance Method Summary collapse
-
#unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog.
Class Method Details
.api_munge(value) ⇒ Object
Used for parsing GCP API responses
125 126 127 128 |
# File 'lib/google/compute/property/urlmap_path_rules.rb', line 125 def self.api_munge(value) return if value.nil? Data::UrlMapPathRulesApi.new(value) end |
.unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
119 120 121 122 |
# File 'lib/google/compute/property/urlmap_path_rules.rb', line 119 def self.unsafe_munge(value) return if value.nil? Data::UrlMapPathRulesCatalog.new(value) end |
Instance Method Details
#unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
114 115 116 |
# File 'lib/google/compute/property/urlmap_path_rules.rb', line 114 def unsafe_munge(value) self.class.unsafe_munge(value) end |