Sha256: 89a1070661904d6757d4d01cef7aec1ae47691276063e7192f6e211f394ec2b2
Contents?: true
Size: 325 Bytes
Versions: 9
Compression:
Stored size: 325 Bytes
Contents
module NightcrawlerSwift class Download < Command def execute path if path.nil? or path.empty? raise Exceptions::ValidationError.new "Download command requires a path parameter" end response = get "#{connection.internal_url}/#{options.bucket}/#{path}" response.body end end end
Version data entries
9 entries across 9 versions & 1 rubygems