lib/avo/licensing/license_manager.rb in avo-2.3.1.pre.1 vs lib/avo/licensing/license_manager.rb in avo-2.3.1.pre.2
- old
+ new
@@ -13,8 +13,12 @@
ProLicense.new @hq_response
else
NullLicense.new @hq_response
end
end
+
+ def self.refresh_license(request)
+ self.new(Licensing::HQ.new(request).fresh_response).license
+ end
end
end
end