class Dag::Client::API::BucketsResult

Public Instance Methods

buckets() click to toggle source
# File lib/dag/client/api/storage_result.rb, line 10
def buckets
  REXML::XPath.match(@xml_doc, "/ListAllMyBucketsResult/Buckets/Bucket/Name").map { |b| b.text }
end
owner_display_name() click to toggle source
# File lib/dag/client/api/storage_result.rb, line 18
def owner_display_name
  REXML::XPath.match(@xml_doc, "/ListAllMyBucketsResult/Owner/DisplayName").map { |b| b.text }.first
end
owner_id() click to toggle source
# File lib/dag/client/api/storage_result.rb, line 14
def owner_id
  REXML::XPath.match(@xml_doc, "/ListAllMyBucketsResult/Owner/ID").map { |b| b.text }.first
end