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.



13
14
15
16
# File 'lib/manageiq/api/client/product_info.rb', line 13

def initialize(product_info)
  @name, @name_full, @copyright, @support_website, @support_website_text, @branding_info, @authentication =
    product_info.values_at("name", "name_full", "copyright", "support_website", "support_website_text", "branding_info", "authentication")
end

Instance Attribute Details

#authentication ⇒ Object (readonly)

Returns the value of attribute authentication.



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

def authentication
  @authentication
end

#branding_info ⇒ Object (readonly)

Returns the value of attribute branding_info.



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

def branding_info
  @branding_info
end

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