class Opsmgr::Api::ListProductsResult

Constants

Product

Attributes

products[R]

Public Class Methods

new(product_hash_array) click to toggle source
# File lib/opsmgr/api/results.rb, line 79
def initialize(product_hash_array)
  @products = product_hash_array.map { |p| Product.new(p.fetch('name'), p.fetch('product_version')) }
end