Class: SupplejackApi::MetricsApiController
Constant Summary
collapse
- API_VERSIONS =
{
'v3' => MetricsApi::V3::Api
}.freeze
Instance Method Summary
collapse
#authenticate_admin!, #authenticate_user!, #current_user, #find_user_set
Instance Method Details
#facets ⇒ Object
14
15
16
|
# File 'app/controllers/supplejack_api/metrics_api_controller.rb', line 14
def facets
render_response(:facets)
end
|
#global ⇒ Object
18
19
20
|
# File 'app/controllers/supplejack_api/metrics_api_controller.rb', line 18
def global
render_response(:global)
end
|
#root ⇒ Object
10
11
12
|
# File 'app/controllers/supplejack_api/metrics_api_controller.rb', line 10
def root
render_response(:root)
end
|