Project

General

Profile

Download (306 Bytes) Statistics
| Branch: | Tag: | Revision:
module ProxyAPI
class Version < ProxyAPI::Resource
def initialize(args)
@url = args[:url] + "/version"
super args
end

def proxy_versions
@proxy_versions ||= parse(get)
rescue => e
raise ProxyException.new(url, e, N_("Unable to detect version"))
end
end
end
(13-13/13)