# File lib/uber-s3/object.rb, line 14 def initialize(bucket, key, value=nil, options={}) self.bucket = bucket self.key = key self.value = value # Init current state infer_content_type! # Call operation methods based on options passed bucket.connection.defaults.merge(options).each {|k,v| self.send((k.to_s+'=').to_sym, v) } end