Sha256: d635c6b22770098cbd44dc5c2429d3d056ec9f79c07d318fb68d09ccdbc72b75

Contents?: true

Size: 665 Bytes

Versions: 26

Compression:

Stored size: 665 Bytes

Contents

module Fog
  module Storage
    class Brightbox
      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

26 entries across 24 versions & 3 rubygems

Version Path
fog-brightbox-1.0.0.rc1 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.16.1 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.16.0 lib/fog/brightbox/requests/storage/get_object_http_url.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-brightbox-0.15.0/lib/fog/brightbox/requests/storage/get_object_http_url.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-brightbox-0.15.0/lib/fog/brightbox/requests/storage/get_object_http_url.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-brightbox-0.15.0/lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.15.0 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.14.0 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.13.0 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.12.0 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.11.0 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.10.1 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.10.0 lib/fog/brightbox/requests/storage/get_object_http_url.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-brightbox-0.9.0/lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.9.0 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.8.0 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.7.2 lib/fog/brightbox/requests/storage/get_object_http_url.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-brightbox-0.7.1/lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.7.1 lib/fog/brightbox/requests/storage/get_object_http_url.rb
fog-brightbox-0.7.0 lib/fog/brightbox/requests/storage/get_object_http_url.rb