lib/jss/api_object/mdm.rb
def send_command_rsrc
        case self::MDM_COMMAND_TARGET
        when *COMPUTER_TARGETS
          COMPUTER_RSRC
        when *DEVICE_TARGETS
          DEVICE_RSRC
        else
          raise JSS::InvalidDataError, "Unknown MDM command target: #{self::MDM_COMMAND_TARGET}"
        end
      end
# The API rsrc for sending MDM commands to this kind of target
#
# @return [String] The API rsrc.
#
The API rsrc for sending MDM commands to this kind of target
The API rsrc for sending MDM commands to this kind of target
def send_command_rsrc
        case self::MDM_COMMAND_TARGET
        when *COMPUTER_TARGETS
          COMPUTER_RSRC
        when *DEVICE_TARGETS
          DEVICE_RSRC
        else
          raise JSS::InvalidDataError, "Unknown MDM command target: #{self::MDM_COMMAND_TARGET}"
        end
      end
def send_command_rsrc case self :: MDM_COMMAND_TARGET when * COMPUTER_TARGETS COMPUTER_RSRC when * DEVICE_TARGETS DEVICE_RSRC else raise JSS :: InvalidDataError , "Unknown MDM command target: #{self::MDM_COMMAND_TARGET}" end end
The API rsrc for sending MDM commands to this kind of target
The API rsrc for sending MDM commands to this kind of target
The API rsrc.
The API rsrc .
String