Class: Lookout::Filters::Properties::NamesController

Inherits:
BaseController show all
Defined in:
app/controllers/lookout/filters/properties/names_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#period

Methods included from Rangeable

#period

Methods included from CompareMode

#compare_mode?, #comparison_mode, included

Instance Method Details

#indexObject



5
6
7
8
# File 'app/controllers/lookout/filters/properties/names_controller.rb', line 5

def index
  keys = extract_property_keys
  render json: keys.map { |key| serialize(key) }
end