Class: Jess::MobileDevice
- Extended by:
- Forwardable
- Defined in:
- lib/jess/mobile_device.rb
Overview
A Mobile Device record returned from JSS. The data mirrors the structure of the JSS Mobile Device JSON representation, with sections for general, security, extension attributes, etc.
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Jess::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Jess::Resource
Instance Method Details
#extension_attributes ⇒ Object
11 12 13 |
# File 'lib/jess/mobile_device.rb', line 11 def extension_attributes @ext_attrs ||= ExtensionAttributes.new(_json["extension_attributes"]) end |
#inspect ⇒ Object
15 16 17 |
# File 'lib/jess/mobile_device.rb', line 15 def inspect "Jess::MobileDevice<##{id}, #{name}>" end |