Sha256: 1b46bdce4e4c78f69572befe98c6f767e52c5a47c1122d492b2bb4d9ddb06161
Contents?: true
Size: 338 Bytes
Versions: 5
Compression:
Stored size: 338 Bytes
Contents
module NightcrawlerSwift class Download < Command def execute path response = get "#{connection.public_url}/#{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
5 entries across 5 versions & 1 rubygems