class Openstack::Client::Storage::ListObjects
List objects at the specified URI. Generally a container is specified. The `prefix=` url variable filters the list retrieved.
Attributes
options[R]
uri[R]
Public Class Methods
new(uri:, options: {})
click to toggle source
# File lib/openstack/client/storage/list_objects.rb, line 14 def initialize(uri:, options: {}) @uri = uri @options = options end
Public Instance Methods
request()
click to toggle source
# File lib/openstack/client/storage/list_objects.rb, line 19 def request add_params Net::HTTP::Get.new(uri) end
Private Instance Methods
add_params()
click to toggle source
# File lib/openstack/client/storage/list_objects.rb, line 26 def add_params uri.query = URI.encode_www_form(options) end