lib/jamf.rb in ruby-jss-1.4.1 vs lib/jamf.rb in ruby-jss-1.5.1
- old
+ new
@@ -39,13 +39,11 @@
require 'base64'
require 'shellwords'
require 'digest'
require 'open3'
-
### Gems
-require 'rest-client'
require 'plist'
# Used, among other places, in the Connection::APIError class
require 'immutable-struct'
@@ -111,10 +109,14 @@
autoload :Lockable, 'jamf/api/mixins/lockable'
autoload :UnCreatable, 'jamf/api/mixins/uncreatable'
autoload :Immutable, 'jamf/api/mixins/immutable'
autoload :UnDeletable, 'jamf/api/mixins/undeletable'
autoload :Abstract, 'jamf/api/mixins/abstract'
+ autoload :Pageable, 'jamf/api/mixins/pageable'
+ autoload :Filterable, 'jamf/api/mixins/filterable'
+ autoload :Sortable, 'jamf/api/mixins/sortable'
+ autoload :BulkDeletable, 'jamf/api/mixins/bulk_deletable'
# Utility modules
autoload :Validate, 'jamf/validate'
# Subclasses of JSONObject, but not Resource
@@ -124,19 +126,21 @@
autoload :ChangeLogEntry, 'jamf/api/json_objects/change_log_entry'
autoload :ComputerPrestageSkipSetupItems, 'jamf/api/json_objects/computer_prestage_skip_setup_items'
autoload :Country, 'jamf/api/json_objects/country'
autoload :Criterion, 'jamf/api/json_objects/criterion'
autoload :DeviceEnrollmentDevice, 'jamf/api/json_objects/device_enrollment_device'
+ autoload :DeviceEnrollmentDeviceSyncState, 'jamf/api/json_objects/device_enrollment_device_sync_state'
autoload :DeviceEnrollmentSyncStatus, 'jamf/api/json_objects/device_enrollment_sync_status'
autoload :ExtensionAttributeValue, 'jamf/api/json_objects/extension_attribute_value'
autoload :InstalledApplication, 'jamf/api/json_objects/installed_application'
autoload :InstalledCertificate, 'jamf/api/json_objects/installed_certificate'
autoload :InstalledConfigurationProfile, 'jamf/api/json_objects/installed_configuration_profile'
autoload :InstalledEBook, 'jamf/api/json_objects/installed_ebook'
autoload :InstalledProvisioningProfile, 'jamf/api/json_objects/installed_provisioning_profile'
autoload :InventoryPreloadExtensionAttribute, 'jamf/api/json_objects/inventory_preload_extension_attribute'
autoload :IosDetails, 'jamf/api/json_objects/ios_details'
+ autoload :Locale, 'jamf/api/json_objects/locale'
autoload :Location, 'jamf/api/json_objects/location'
autoload :PrestageLocation, 'jamf/api/json_objects/prestage_location'
autoload :PrestageSyncStatus, 'jamf/api/json_objects/prestage_sync_status'
autoload :MobileDeviceDetails, 'jamf/api/json_objects/mobile_device_details'
autoload :MobileDeviceSecurity, 'jamf/api/json_objects/mobile_device_security'
@@ -145,20 +149,24 @@
autoload :MobileDevicePrestageSkipSetupItems, 'jamf/api/json_objects/md_prestage_skip_setup_items'
autoload :PurchasingData, 'jamf/api/json_objects/purchasing_data'
autoload :PrestagePurchasingData, 'jamf/api/json_objects/prestage_purchasing_data'
autoload :PrestageScope, 'jamf/api/json_objects/prestage_scope'
autoload :PrestageAssignment, 'jamf/api/json_objects/prestage_assignment'
+ autoload :TimeZone, 'jamf/api/json_objects/time_zone'
# Subclasses of SingletonResource
autoload :ClientCheckInSettings, 'jamf/api/resources/singleton_resources/client_checkin_settings'
autoload :ReEnrollmentSettings, 'jamf/api/resources/singleton_resources/reenrollment_settings'
autoload :AppStoreCountryCodes, 'jamf/api/resources/singleton_resources/app_store_country_codes'
+ autoload :TimeZones, 'jamf/api/resources/singleton_resources/time_zones'
+ autoload :Locales, 'jamf/api/resources/singleton_resources/locales'
# Subclasses of CollectionResource
autoload :AdvancedMobileDeviceSearch, 'jamf/api/resources/collection_resources/advanced_mobile_device_search'
autoload :AdvancedUserSearch, 'jamf/api/resources/collection_resources/advanced_user_search'
autoload :Attachment, 'jamf/api/resources/collection_resources/attachment'
+ autoload :Category, 'jamf/api/resources/collection_resources/category'
autoload :Building, 'jamf/api/resources/collection_resources/building'
autoload :Computer, 'jamf/api/resources/collection_resources/computer'
autoload :ComputerPrestage, 'jamf/api/resources/collection_resources/computer_prestage'
autoload :Department, 'jamf/api/resources/collection_resources/department'
autoload :DeviceEnrollment, 'jamf/api/resources/collection_resources/device_enrollment'
@@ -166,10 +174,9 @@
autoload :InventoryPreloadRecord, 'jamf/api/resources/collection_resources/inventory_preload_record'
autoload :MobileDevice, 'jamf/api/resources/collection_resources/mobile_device'
autoload :MobileDevicePrestage, 'jamf/api/resources/collection_resources/mobile_device_prestage'
autoload :Site, 'jamf/api/resources/collection_resources/site'
autoload :Script, 'jamf/api/resources/collection_resources/script'
- autoload :TimeZone, 'jamf/api/resources/collection_resources/time_zone'
# other classes used as attributes inside the resource classes
autoload :IPAddress, 'jamf/api/attribute_classes/ip_address'
autoload :Timestamp, 'jamf/api/attribute_classes/timestamp'