Sha256: 9432b401a1c64d13622d359e4d3c74c26b40a0ed2bd84b8fa4d344d8fa88f745

Contents?: true

Size: 510 Bytes

Versions: 13

Compression:

Stored size: 510 Bytes

Contents

module ManageIQ
  module API
    class Client
      class ProductInfo
        attr_reader :name
        attr_reader :name_full
        attr_reader :copyright
        attr_reader :support_website
        attr_reader :support_website_text

        def initialize(product_info)
          @name, @name_full, @copyright, @support_website, @support_website_text =
            product_info.values_at("name", "name_full", "copyright", "support_website", "support_website_text")
        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/product_info.rb
manageiq-api-client-0.4.0 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.3.7 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.3.6 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.3.5 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.3.4 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.3.3 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.3.2 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.3.1 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.3.0 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.2.0 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.1.1 lib/manageiq/api/client/product_info.rb
manageiq-api-client-0.1.0 lib/manageiq/api/client/product_info.rb