lib/zendesk2/groups.rb in zendesk2-1.8.1 vs lib/zendesk2/groups.rb in zendesk2-1.9.0

- old
+ new

@@ -11,10 +11,10 @@ self.model_method = :get_group self.model_root = "group" self.search_type = "group" def assignable - data = self.service.get_assignable_groups.body - collection = self.service.groups.load(data["groups"]) + data = self.cistern.get_assignable_groups.body + collection = self.cistern.groups.load(data["groups"]) collection.merge_attributes(Cistern::Hash.slice(data, "next_page", "previous_page", "count")) end end