Method: JSS::ManagementHistory::MDMCommand#initialize

Defined in:
lib/jss/api_object/management_history/mdm_command.rb

#initialize(args = {}) ⇒ MDMCommand

Returns a new instance of MDMCommand.


54
55
56
57
58
59
# File 'lib/jss/api_object/management_history/mdm_command.rb', line 54

def initialize(args = {})
  args[:completed_epoch] ||= args[:date_time_completed_epoch]
  args[:issued_epoch] ||= args[:date_time_issued_epoch]
  args[:failed_epoch] ||= args[:date_time_failed_epoch]
  super args
end