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
- #extension_attributes ⇒ Object
- #inspect ⇒ Object (also: #to_s)
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
12 13 14 |
# File 'lib/jess/mobile_device.rb', line 12 def extension_attributes @ext_attrs ||= ExtensionAttributes.new(_json["extension_attributes"]) end |
#inspect ⇒ Object Also known as: to_s
16 17 18 |
# File 'lib/jess/mobile_device.rb', line 16 def inspect "Jess::MobileDevice<##{id}, #{name}>" end |