Module: Jamf::FileVault
- Included in:
- Computer
- Defined in:
- lib/jamf/api/jamf_pro/mixins/filevault.rb
Overview
This module should be mixed in to Jamf::Computer
It provides access to the /v1/computers-inventory/filevault and /v1/computers-inventory/id/filevault JPAPI resources
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- FILEVAULT_RSRC_SUFFIX =
The JPAPI resource for a single computer’s FV info is Jamf::Computer::JPAPI_INVENTORY_RSRC then the computer’s ID then this
'filevault'
Class Method Summary collapse
-
.included(includer) ⇒ Object
when this module is included, also extend our Class Methods.
Instance Method Summary collapse
-
#filevault_info ⇒ Object
Get the filevault info for this Computer instance.
Class Method Details
.included(includer) ⇒ Object
when this module is included, also extend our Class Methods
36 37 38 39 |
# File 'lib/jamf/api/jamf_pro/mixins/filevault.rb', line 36 def self.included(includer) Jamf.load_msg "--> #{includer} is including #{self}" includer.extend(ClassMethods) end |
Instance Method Details
#filevault_info ⇒ Object
Get the filevault info for this Computer instance
119 120 121 |
# File 'lib/jamf/api/jamf_pro/mixins/filevault.rb', line 119 def filevault_info self.class.filevault_info @id, cnx: @cnx end |