Class: Opsmgr::Api::InstallLogResult

Inherits:
Result
  • Object
show all
Defined in:
lib/opsmgr/api/results.rb

Instance Attribute Summary collapse

Attributes inherited from Result

#message

Instance Method Summary collapse

Methods inherited from Result

#success?

Constructor Details

#initialize(log_hash) ⇒ InstallLogResult

Returns a new instance of InstallLogResult.



61
62
63
# File 'lib/opsmgr/api/results.rb', line 61

def initialize(log_hash)
  @log = log_hash['logs'].dup.freeze
end

Instance Attribute Details

#logObject (readonly)

Returns the value of attribute log.



59
60
61
# File 'lib/opsmgr/api/results.rb', line 59

def log
  @log
end