lib/onyphe/client.rb in onyphe-1.1.0 vs lib/onyphe/client.rb in onyphe-2.0.0
- old
+ new
@@ -5,10 +5,11 @@
require "uri"
module Onyphe
class Client
HOST = "www.onyphe.io"
- URL = "https://#{HOST}/api"
+ VERSION = "v2"
+ URL = "https://#{HOST}/api/#{VERSION}"
def initialize(api_key)
@api_key = api_key
end