# File lib/aws/s3/bucket.rb, line 316 def website_configuration= website_configuration if website_configuration client_opts = website_configuration.to_hash client_opts[:bucket_name] = name client.put_bucket_website(client_opts) else remove_website_configuration end end