lib/azure/storage/blob/serialization.rb in azure-storage-blob-2.0.1 vs lib/azure/storage/blob/serialization.rb in azure-storage-blob-2.0.2
- old
+ new
@@ -197,9 +197,12 @@
xml = slopify(xml)
expect_node("Properties", xml)
props = {}
+ props[:access_tier] = (xml > "AccessTier").text if (xml > "AccessTier").any?
+ props[:access_tier_change_time] = (xml > "AccessTierChangeTime").text if (xml > "AccessTierChangeTime").any?
+ props[:creation_Time] = (xml > "Creation-Time").text if (xml > "Creation-Time").any?
props[:last_modified] = (xml > "Last-Modified").text if (xml > "Last-Modified").any?
props[:etag] = xml.Etag.text if (xml > "Etag").any?
props[:lease_status] = xml.LeaseStatus.text if (xml > "LeaseStatus").any?
props[:lease_state] = xml.LeaseState.text if (xml > "LeaseState").any?
props[:lease_duration] = xml.LeaseDuration.text if (xml > "LeaseDuration").any?