Skip to content

Commit c59969b

Browse files
added access tier information and creation time of blob in response
1 parent 20a6898 commit c59969b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

blob/lib/azure/storage/blob/serialization.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ def self.blob_properties_from_xml(xml)
199199

200200
props = {}
201201

202+
props[:access_tier] = (xml > "AccessTier").text if (xml > "AccessTier").any?
203+
props[:access_tier_change_time] = (xml > "AccessTierChangeTime").text if (xml > "AccessTierChangeTime").any?
204+
props[:creation_Time] = (xml > "Creation-Time").text if (xml > "Creation-Time").any?
202205
props[:last_modified] = (xml > "Last-Modified").text if (xml > "Last-Modified").any?
203206
props[:etag] = xml.Etag.text if (xml > "Etag").any?
204207
props[:lease_status] = xml.LeaseStatus.text if (xml > "LeaseStatus").any?

0 commit comments

Comments
 (0)