lib/rgeoserver/namespace.rb in rgeoserver-0.5.9 vs lib/rgeoserver/namespace.rb in rgeoserver-0.7
- old
+ new
@@ -39,12 +39,11 @@
end
# @param [RGeoServer::Catalog] catalog
# @param [Hash] options
def initialize catalog, options
- super({})
+ super(catalog)
_run_initialize_callbacks do
- @catalog = catalog
@name = options[:name].strip
@uri = options[:uri] if options[:uri]
end
@route = route
end