lib/controllers/get.rb in evertils-0.3.0 vs lib/controllers/get.rb in evertils-0.3.1

- old
+ new

@@ -36,18 +36,18 @@ metadata.notes.each do |note| puts note.title end else - Notify.error("Could not pull data for notebook #{$request.custom[0]}") + Notify.error("Could not pull data for notebook #{$request.custom[0]}", {}) end else - Notify.error("Notebook name is a required argument, i.e.\n#{Evertils::PACKAGE_NAME} get notebook agendas") + Notify.error("Notebook name is a required argument, i.e.\n#{Evertils::PACKAGE_NAME} get notebook agendas", {}) end end def info - @model.info.each_pair do |key, value| + $config.options.each_pair do |key, value| Notify.spit("#{key}: #{value}") end end end end