Class: ManageIQ::API::Client::ProductInfo
- Inherits:
-
Object
- Object
- ManageIQ::API::Client::ProductInfo
- Defined in:
- lib/manageiq/api/client/product_info.rb
Instance Attribute Summary collapse
-
#copyright ⇒ Object
readonly
Returns the value of attribute copyright.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#name_full ⇒ Object
readonly
Returns the value of attribute name_full.
-
#support_website ⇒ Object
readonly
Returns the value of attribute support_website.
-
#support_website_text ⇒ Object
readonly
Returns the value of attribute support_website_text.
Instance Method Summary collapse
-
#initialize(product_info) ⇒ ProductInfo
constructor
A new instance of ProductInfo.
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
#copyright ⇒ Object (readonly)
Returns the value of attribute copyright.
7 8 9 |
# File 'lib/manageiq/api/client/product_info.rb', line 7 def copyright @copyright end |
#name ⇒ Object (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_full ⇒ Object (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_website ⇒ Object (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_text ⇒ Object (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 |