Class: ManageIQ::API::Client::ProductInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/manageiq/api/client/product_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(product_info) ⇒ ProductInfo

Returns a new instance of ProductInfo.



11
12
13
14
# File 'lib/manageiq/api/client/product_info.rb', line 11

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

Instance Attribute Details

Returns the value of attribute copyright.



7
8
9
# File 'lib/manageiq/api/client/product_info.rb', line 7

def copyright
  @copyright
end

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/manageiq/api/client/product_info.rb', line 5

def name
  @name
end

#name_fullObject (readonly)

Returns the value of attribute name_full.



6
7
8
# File 'lib/manageiq/api/client/product_info.rb', line 6

def name_full
  @name_full
end

#support_websiteObject (readonly)

Returns the value of attribute support_website.



8
9
10
# File 'lib/manageiq/api/client/product_info.rb', line 8

def support_website
  @support_website
end

#support_website_textObject (readonly)

Returns the value of attribute support_website_text.



9
10
11
# File 'lib/manageiq/api/client/product_info.rb', line 9

def support_website_text
  @support_website_text
end