lib/jss/api_object/management_history.rb
# Wrapper for app store history for both computers and mobile devices
#
# @param ident [Type] The identifier for the object - id, name, sn, udid, etc.
#
# @param status [Symbol] Return only the :installed, :pending, or :failed apps
#
# @param api [JSS::APIConnection] The API connection to use for the query
#   defaults to the currently active connection
#
# @return [Array] An array of MacAppStoreApp or MobileDeviceApp
#
Wrapper for app store history for both computers and mobile devices
Wrapper for app store history for both computers and mobile devices
def app_store_app_history(ident, status = nil, api: JSS.api)
        if self == JSS::MobileDevice
          mobile_device_app_history(ident, status, api: api)
        else
          mac_app_store_app_history(ident, status, api: api)
        end
      end
def app_store_app_history ( ident , status = nil , api : JSS . api ) if self == JSS :: MobileDevice mobile_device_app_history ( ident , status , api : api ) else mac_app_store_app_history ( ident , status , api : api ) end end
Wrapper for app store history for both computers and mobile devices
Wrapper for app store history for both computers and mobile devices
An array of MacAppStoreApp or MobileDeviceApp
An array of MacAppStoreApp or MobileDeviceApp
Array
ident
The identifier for the object - id, name, sn, udid, etc.
The identifier for the object - id name sn udid etc .
status
Return only the :installed, :pending, or :failed apps
Return only the : installed : pending or : failed apps
api
The API connection to use for the query defaults to the currently active connection
The API connection to use for the query defaults to the currently active connection
the currently active connection