Class: S3Direct::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/s3direct.rb

Instance Attribute Summary collapse

Instance Attribute Details

#access_keyObject

Returns the value of attribute access_key.



23
24
25
# File 'lib/s3direct.rb', line 23

def access_key
  @access_key
end

#bucketObject

Returns the value of attribute bucket.



21
22
23
# File 'lib/s3direct.rb', line 21

def bucket
  @bucket
end

#bucket_urlObject

Returns the value of attribute bucket_url.



22
23
24
# File 'lib/s3direct.rb', line 22

def bucket_url
  @bucket_url
end

#default_aclObject



32
33
34
# File 'lib/s3direct.rb', line 32

def default_acl
  @default_acl ||= 'public-read'
end

#max_upload_sizeObject



27
28
29
# File 'lib/s3direct.rb', line 27

def max_upload_size
  @max_upload_size ||= 1.gigabyte
end

#secret_keyObject

Returns the value of attribute secret_key.



24
25
26
# File 'lib/s3direct.rb', line 24

def secret_key
  @secret_key
end