From a28cd04efde9dabe6ad745f71e3b26f0e25fbc67 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Fri, 22 Jul 2016 18:30:51 -0700 Subject: [PATCH] Fix typo: HTTPary => HTTParty (#115) --- lib/aptly_snapshot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/aptly_snapshot.rb b/lib/aptly_snapshot.rb index 445ac9a..f35263d 100644 --- a/lib/aptly_snapshot.rb +++ b/lib/aptly_snapshot.rb @@ -85,7 +85,7 @@ def snapshot_update(name, new_name, description=nil) begin self.class.put(uri, query: @query_json, headers: { 'Content-Type' => 'application/json' }) - rescue HTTPary::Error => e + rescue HTTParty::Error => e puts e end end