Class: Google::Compute::Property::SslCertSelfLinkRef
- Inherits:
-
Puppet::Property
- Object
- Puppet::Property
- Google::Compute::Property::SslCertSelfLinkRef
- Defined in:
- lib/google/compute/property/sslcertificate_selflink.rb
Overview
A class to manage fetching self_link from a ssl_certificate
Class Method Summary collapse
-
.api_munge(value) ⇒ Object
Used for fetched JSON values.
- .unsafe_munge(value) ⇒ Object
Instance Method Summary collapse
-
#unsafe_munge(value) ⇒ Object
Used for catalog values.
Class Method Details
.api_munge(value) ⇒ Object
Used for fetched JSON values
114 115 116 117 |
# File 'lib/google/compute/property/sslcertificate_selflink.rb', line 114 def self.api_munge(value) return if value.nil? Data::SslCertSelfLinkRefApi.new(value) end |
.unsafe_munge(value) ⇒ Object
108 109 110 111 |
# File 'lib/google/compute/property/sslcertificate_selflink.rb', line 108 def self.unsafe_munge(value) return if value.nil? Data::SslCertSelfLinkRefCatalog.new(value) end |
Instance Method Details
#unsafe_munge(value) ⇒ Object
Used for catalog values
104 105 106 |
# File 'lib/google/compute/property/sslcertificate_selflink.rb', line 104 def unsafe_munge(value) self.class.unsafe_munge(value) end |