lib/manageiq/api/client/client.rb in manageiq-api-client-0.1.1 vs lib/manageiq/api/client/client.rb in manageiq-api-client-0.2.0
- old
+ new
@@ -6,11 +6,11 @@
attr_reader :url
attr_reader :authentication
attr_reader :connection
attr_reader :api
- attr_reader :settings
+ attr_reader :user_settings
attr_reader :identity
attr_reader :authorization
attr_reader :server_info
attr_reader :product_info
attr_reader :collections
@@ -34,10 +34,10 @@
end
def load_definitions
entrypoint = connection.get("", :attributes => "authorization")
@api = ManageIQ::API::Client::API.new(entrypoint)
- @settings = Hash(entrypoint["settings"]).dup
+ @user_settings = Hash(entrypoint["settings"]).dup
@identity = ManageIQ::API::Client::Identity.new(Hash(entrypoint["identity"]))
@authorization = Hash(entrypoint["authorization"]).dup
@server_info = ServerInfo.new(Hash(entrypoint["server_info"]))
@product_info = ProductInfo.new(Hash(entrypoint["product_info"]))
@collections = load_collections(entrypoint["collections"])