class Omnibus::S3CacheFetcher
Public Class Methods
new(software)
click to toggle source
Calls superclass method
Omnibus::NetFetcher::new
# File lib/omnibus/fetchers/s3_cache_fetcher.rb, line 27 def initialize(software) @software = software super end
Public Instance Methods
fetch()
click to toggle source
Calls superclass method
Omnibus::NetFetcher#fetch
# File lib/omnibus/fetchers/s3_cache_fetcher.rb, line 32 def fetch log "S3 Cache enabled, #{name} will be fetched from S3 cache" super end
source_uri()
click to toggle source
# File lib/omnibus/fetchers/s3_cache_fetcher.rb, line 37 def source_uri URI.parse(url_for(@software)) end