lib/cantango/api/options.rb in cantango-0.8.9.2 vs lib/cantango/api/options.rb in cantango-0.8.9.3

- old
+ new

@@ -8,13 +8,18 @@ opts.merge!(option => send(option)) if respond_to? option end opts end + def self.options_list + [:session, :request, :params, :controller, :domain, :cookies] + end + private + # [:session, :request, :params, :controller, :domain, :cookies] def options_list - [:session, :request, :params, :controller, :domain] + self.class.options_list end end end end