Skip to content

Commit

Permalink
hack ContentLibrary in so sync task can be viewed
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Siegfriedt committed Dec 28, 2022
1 parent f97867e commit 46a708d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/rbvmomi/basic_types.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
module RbVmomi
module BasicTypes

BUILTIN = Set.new %w(ManagedObject DataObject TypeName PropertyPath ManagedObjectReference MethodName MethodFault LocalizedMethodFault KeyValue)
BUILTIN = Set.new %w(ManagedObject DataObject TypeName PropertyPath ManagedObjectReference MethodName MethodFault LocalizedMethodFault KeyValue ContentLibrary)

class Base
class << self
Expand Down Expand Up @@ -341,6 +341,8 @@ class TypeName < String
def self.wsdl_name; 'TypeName' end
end

class ContentLibrary < ManagedObject; end

class ManagedObjectReference
def self.wsdl_name; 'ManagedObjectReference' end
end
Expand Down

0 comments on commit 46a708d

Please sign in to comment.