lib/rgeoserver/style.rb in rgeoserver-0.5.9 vs lib/rgeoserver/style.rb in rgeoserver-0.7
- old
+ new
@@ -60,12 +60,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
end
@route = route
end