Class: Google::Storage::Property::BucketCondition
- Defined in:
- lib/google/storage/property/bucket_condition.rb
Overview
A class to manage input to Condition for bucket.
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.
Methods inherited from Base
Class Method Details
.api_munge(value) ⇒ Object
Used for parsing GCP API responses
139 140 141 142 |
# File 'lib/google/storage/property/bucket_condition.rb', line 139 def self.api_munge(value) return if value.nil? Data::BucketConditionApi.new(value) end |
.unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
133 134 135 136 |
# File 'lib/google/storage/property/bucket_condition.rb', line 133 def self.unsafe_munge(value) return if value.nil? Data::BucketConditionCatalog.new(value) end |
Instance Method Details
#unsafe_munge(value) ⇒ Object
Used for parsing Puppet catalog
128 129 130 |
# File 'lib/google/storage/property/bucket_condition.rb', line 128 def unsafe_munge(value) self.class.unsafe_munge(value) end |