Permalink
Browse files

Document :no_subdomains option to RightAws::S3Interface.

  • Loading branch information...
1 parent b1ece72 commit 637e75f4c3540c667a423ac6458f8fe93b85855b @richmeyers richmeyers committed with konstantin-dzreev Nov 30, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/s3/right_s3_interface.rb
@@ -78,10 +78,11 @@ def param(name)
#
# Params is a hash:
#
- # {:server => 's3.amazonaws.com' # Amazon service host: 's3.amazonaws.com'(default)
- # :port => 443 # Amazon service port: 80 or 443(default)
- # :protocol => 'https' # Amazon service protocol: 'http' or 'https'(default)
- # :logger => Logger Object} # Logger instance: logs to STDOUT if omitted }
+ # {:server => 's3.amazonaws.com' # Amazon service host: 's3.amazonaws.com'(default)
+ # :port => 443 # Amazon service port: 80 or 443(default)
+ # :protocol => 'https' # Amazon service protocol: 'http' or 'https'(default)
+ # :logger => Logger Object # Logger instance: logs to STDOUT if omitted
+ # :no_subdomains => true} # Force placing bucket name into path instead of domain name
#
def initialize(aws_access_key_id=nil, aws_secret_access_key=nil, params={})
init({ :name => 'S3',

0 comments on commit 637e75f

Please sign in to comment.