Sha256: 97e5f3a2c7bd30be54e4c240e3d60abf0418c3e6665837896b41a94f2e4edfd3
Contents?: true
Size: 356 Bytes
Versions: 1
Compression:
Stored size: 356 Bytes
Contents
module NightcrawlerSwift class Download < Command def execute path response = get "#{connection.public_url}/#{options.bucket}/#{path}" response.body rescue RestClient::ResourceNotFound => e raise Exceptions::NotFoundError.new(e) rescue StandardError => e raise Exceptions::ConnectionError.new(e) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nightcrawler_swift-0.4.0 | lib/nightcrawler_swift/commands/download.rb |