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.



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

def access_key
  @access_key
end

#bucketObject

Returns the value of attribute bucket.



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

def bucket
  @bucket
end

#bucket_urlObject

Returns the value of attribute bucket_url.



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

def bucket_url
  @bucket_url
end

#default_aclObject



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

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

#max_upload_sizeObject



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

def max_upload_size
  @max_upload_size ||= 1.gigabyte
end

#secret_keyObject

Returns the value of attribute secret_key.



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

def secret_key
  @secret_key
end