lib/aptly_misc.rb in aptly_cli-0.5.0 vs lib/aptly_misc.rb in aptly_cli-0.6.0
- old
+ new
@@ -9,15 +9,15 @@
class AptlyMisc < AptlyCommand
include HTTParty
def get_graph(extension)
uri = "/graph.#{extension}"
- self.class.get(uri)
+ get(uri)
end
def get_version
uri = '/version'
- response = self.class.get(uri)
+ response = get(uri)
response.parsed_response
end
end
end