Sha256: ac37cb2a643fa390452ffe1c001e244840c70cb33b40d0ba20b0b49d59fb94fb

Contents?: true

Size: 665 Bytes

Versions: 21

Compression:

Stored size: 665 Bytes

Contents

module Fog
  module Storage
    class OpenStack
      class Real
        # Get an expiring object http url
        #
        # ==== Parameters
        # * container<~String> - Name of container containing object
        # * object<~String> - Name of object to get expiring url for
        # * expires<~Time> - An expiry time for this url
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~String> - url for object
        def get_object_http_url(container, object, expires, options = {})
          create_temp_url(container, object, expires, "GET", options.merge(:scheme => "http"))
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/openstack/requests/storage/get_object_http_url.rb
fog-1.29.0 lib/fog/openstack/requests/storage/get_object_http_url.rb
fog-1.28.0 lib/fog/openstack/requests/storage/get_object_http_url.rb
fog-1.27.0 lib/fog/openstack/requests/storage/get_object_http_url.rb
fog-1.26.0 lib/fog/openstack/requests/storage/get_object_http_url.rb
fog-1.25.0 lib/fog/openstack/requests/storage/get_object_http_url.rb
nsidc-fog-1.24.1 lib/fog/openstack/requests/storage/get_object_http_url.rb
fog-1.24.0 lib/fog/openstack/requests/storage/get_object_http_url.rb
ns-fog-1.22.11 lib/fog/openstack/requests/storage/get_object_http_url.rb
ns-fog-1.22.10 lib/fog/openstack/requests/storage/get_object_http_url.rb
ns-fog-1.22.9 lib/fog/openstack/requests/storage/get_object_http_url.rb
ns-fog-1.22.8 lib/fog/openstack/requests/storage/get_object_http_url.rb
ns-fog-1.22.7 lib/fog/openstack/requests/storage/get_object_http_url.rb
ns-fog-1.22.6 lib/fog/openstack/requests/storage/get_object_http_url.rb
fog-1.23.0 lib/fog/openstack/requests/storage/get_object_http_url.rb
ns-fog-1.22.4 lib/fog/openstack/requests/storage/get_object_http_url.rb
ns-fog-1.22.3 lib/fog/openstack/requests/storage/get_object_http_url.rb
ns-fog-1.22.2 lib/fog/openstack/requests/storage/get_object_http_url.rb
fog-1.22.1 lib/fog/openstack/requests/storage/get_object_http_url.rb
fog-1.22.0 lib/fog/openstack/requests/storage/get_object_http_url.rb