lib/oneaccess.rb in oneaccess-0.1.9 vs lib/oneaccess.rb in oneaccess-0.2.0
- old
+ new
@@ -1,26 +1,33 @@
# frozen_string_literal: true
require "representable"
+require_relative "./oneaccess/http/http_client"
+
require_relative "./oneaccess/configuration"
require_relative "./oneaccess/serializable"
require_relative "./oneaccess/enum/api_status_code"
require_relative "./oneaccess/enum/product_type"
require_relative "./oneaccess/enum/product_group_status"
require_relative "./oneaccess/enum/entitlement_status"
-require_relative "./oneaccess/api/base"
-require_relative "./oneaccess/api/user"
-require_relative "./oneaccess/api/research"
-require_relative "./oneaccess/api/organizations"
-require_relative "./oneaccess/api/symbology"
-require_relative "./oneaccess/api/references"
-require_relative "./oneaccess/api/entitlement/user_subscription"
-require_relative "./oneaccess/api/entitlement/organization/product_group"
-require_relative "./oneaccess/api/entitlement/user/product_group"
-require_relative "./oneaccess/api/entitlement/research/user_requests"
+require_relative "./oneaccess/api/api_base"
+
+require_relative "./oneaccess/api/v1_1/base"
+require_relative "./oneaccess/api/v1_1/user"
+require_relative "./oneaccess/api/v1_1/research"
+require_relative "./oneaccess/api/v1_1/organizations"
+require_relative "./oneaccess/api/v1_1/symbology"
+require_relative "./oneaccess/api/v1_1/references"
+require_relative "./oneaccess/api/v1_1/entitlement/user_subscription"
+require_relative "./oneaccess/api/v1_1/entitlement/organization/product_group"
+require_relative "./oneaccess/api/v1_1/entitlement/user/product_group"
+require_relative "./oneaccess/api/v1_1/entitlement/research/user_requests"
+
+require_relative "./oneaccess/api/v3_0/base"
+require_relative "./oneaccess/api/v3_0/references"
module ONEAccess
def self.configure
raise "expected block for configuration" unless block_given?
yield Configuration