Class: MissionKontrolRelay::ModelsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/mission_kontrol_relay/models_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#index

Instance Method Details

#associationsObject


8
9
10
11
12
# File 'app/controllers/mission_kontrol_relay/models_controller.rb', line 8

def associations
  call_association_service

  render json: @associations
end

#validationsObject


14
15
16
17
18
# File 'app/controllers/mission_kontrol_relay/models_controller.rb', line 14

def validations
  call_validation_service

  render json: @model_validations
end