lib/jss/api_object.rb in ruby-jss-0.6.6 vs lib/jss/api_object.rb in ruby-jss-0.6.7

- old
+ new

@@ -1,6 +1,7 @@ -### Copyright 2016 Pixar +### Copyright 2017 Pixar + ### ### Licensed under the Apache License, Version 2.0 (the "Apache License") ### with the following modification; you may not use this file except in ### compliance with the Apache License and the following modification to it: ### Section 6. Trademarks. is deleted and replaced with: @@ -425,10 +426,11 @@ ####### Previously looked-up JSON data if args[:data] @init_data = args[:data] + ### Does this data come in subsets? @got_subsets = @init_data[:general].is_a?(Hash) ### data must include all they keys in REQUIRED_DATA_KEYS + VALID_DATA_KEYS ### in either the main hash keys or the :general sub-hash, if it exists @@ -640,5 +642,6 @@ require 'jss/api_object/restricted_software' require 'jss/api_object/script' require 'jss/api_object/site' require 'jss/api_object/software_update_server' require 'jss/api_object/user' +require 'jss/api_object/webhook'