Module: Imagery::S3::Config

Defined in:
lib/imagery/s3.rb

Instance Method Summary collapse

Instance Method Details

#s3_bucket(bucket = nil) ⇒ Object



15
16
17
18
# File 'lib/imagery/s3.rb', line 15

def s3_bucket(bucket = nil)
  @s3_bucket = bucket if bucket
  @s3_bucket
end

#s3_distribution_domain(domain = nil) ⇒ Object



20
21
22
23
# File 'lib/imagery/s3.rb', line 20

def s3_distribution_domain(domain = nil)
  @s3_distribution_domain = domain if domain
  @s3_distribution_domain
end

#s3_host(host = nil) ⇒ Object



25
26
27
28
# File 'lib/imagery/s3.rb', line 25

def s3_host(host = nil)
  @s3_host = host if host
  @s3_host
end