lib/oneaccess/configuration.rb in oneaccess-0.1.9 vs lib/oneaccess/configuration.rb in oneaccess-0.2.0

- old
+ new

@@ -1,14 +1,17 @@ # frozen_string_literal: true module ONEAccess class Configuration - DEFAULT_BASE_URL = "http://ws.oneaccess.io/v1.1" + DEFAULT_BASE_V1_1_URL = "http://ws.oneaccess.io/v1.1" + DEFAULT_BASE_V3_0_URL = "http://ws.oneaccess.io/v3.0" class << self - attr_accessor :base_url + attr_accessor :base_v1_1_url + attr_accessor :base_v3_0_url attr_accessor :api_key attr_accessor :master_api_key end - self.base_url = DEFAULT_BASE_URL + self.base_v1_1_url = DEFAULT_BASE_V1_1_URL + self.base_v3_0_url = DEFAULT_BASE_V3_0_URL end end