class Openstack::Client::Storage::ShowObjectMetadata
Shows the object metadata without downloading it. Useful to check if object exists.
Attributes
uri[R]
Public Class Methods
new(uri:)
click to toggle source
# File lib/openstack/client/storage/show_object_metadata.rb, line 13 def initialize(uri:) @uri = uri end
Public Instance Methods
request()
click to toggle source
# File lib/openstack/client/storage/show_object_metadata.rb, line 17 def request Net::HTTP::Head.new(uri) end