Sha256: 5bbfc8d8f3bee283d6564f71333fb56685061551e774857384d55ba1158628f0

Contents?: true

Size: 502 Bytes

Versions: 13

Compression:

Stored size: 502 Bytes

Contents

module ManageIQ
  module API
    class Client
      class API
        attr_reader :name
        attr_reader :description
        attr_reader :version
        attr_reader :versions

        def initialize(entrypoint)
          @name, @description, @version = entrypoint.values_at("name", "description", "version")
          @versions = entrypoint["versions"].collect do |version_spec|
            ManageIQ::API::Client::ApiVersion.new(version_spec)
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
manageiq-api-client-0.6.0 lib/manageiq/api/client/api.rb
manageiq-api-client-0.4.0 lib/manageiq/api/client/api.rb
manageiq-api-client-0.3.7 lib/manageiq/api/client/api.rb
manageiq-api-client-0.3.6 lib/manageiq/api/client/api.rb
manageiq-api-client-0.3.5 lib/manageiq/api/client/api.rb
manageiq-api-client-0.3.4 lib/manageiq/api/client/api.rb
manageiq-api-client-0.3.3 lib/manageiq/api/client/api.rb
manageiq-api-client-0.3.2 lib/manageiq/api/client/api.rb
manageiq-api-client-0.3.1 lib/manageiq/api/client/api.rb
manageiq-api-client-0.3.0 lib/manageiq/api/client/api.rb
manageiq-api-client-0.2.0 lib/manageiq/api/client/api.rb
manageiq-api-client-0.1.1 lib/manageiq/api/client/api.rb
manageiq-api-client-0.1.0 lib/manageiq/api/client/api.rb