diff --git a/lib/ontologies_api_client/models/class.rb b/lib/ontologies_api_client/models/class.rb index 6362c98..41895d5 100644 --- a/lib/ontologies_api_client/models/class.rb +++ b/lib/ontologies_api_client/models/class.rb @@ -83,7 +83,7 @@ def self.search(*args) merged_collections[:errors] << result.errors end end - merged_collections + OpenStruct.new(merged_collections) end