lib/jss/api_object/criteriable.rb in ruby-jss-1.0.0b2 vs lib/jss/api_object/criteriable.rb in ruby-jss-1.0.0b6
- old
+ new
@@ -79,10 +79,10 @@
###
### # use them to create a Criteria instance
### crta = JSS::Criteriable::Criteria.new [crtn_0, crtn_1]
###
### # create a new Advanced Search
- ### srch = JSS::AdvancedComputerSearch.new :id => :new, :name => "my computer search"
+ ### srch = JSS::AdvancedComputerSearch.make, :name => "my computer search"
### srch.display_fields = ["Computer Name"]
###
### # add our Criteria to it
### srch.criteria = crta
###