lib/acfs/singleton_resource.rb in acfs-0.29.1.1.b257 vs lib/acfs/singleton_resource.rb in acfs-0.29.1.1.b259
- old
+ new
@@ -67,10 +67,10 @@
# @return [ self ] Resource object.
#
def find(*attrs, &block)
opts = { params: attrs.extract_options! }
- model = ResourceDelegator.new self.new
+ model = Util::ResourceDelegator.new self.new
operation :read, opts do |data|
model.__setobj__ create_resource data, origin: model.__getobj__
block.call model unless block.nil?
end