mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix minor typo in get_object_https_url
This commit is contained in:
parent
8a54eabdb2
commit
077236095a
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module Fog
|
||||||
# http://docs.rackspace.com/files/api/v1/cf-devguide/content/Create_TempURL-d1a444.html
|
# http://docs.rackspace.com/files/api/v1/cf-devguide/content/Create_TempURL-d1a444.html
|
||||||
def get_object_https_url(container, object, expires, options = {})
|
def get_object_https_url(container, object, expires, options = {})
|
||||||
if @rackspace_temp_url_key.nil?
|
if @rackspace_temp_url_key.nil?
|
||||||
raise ArgumentError, "Storage must my instantiated with the :rackspace_temp_url_key option"
|
raise ArgumentError, "Storage must be instantiated with the :rackspace_temp_url_key option"
|
||||||
end
|
end
|
||||||
|
|
||||||
method = options[:method] || 'GET'
|
method = options[:method] || 'GET'
|
||||||
|
|
Loading…
Reference in a new issue