Class: V1::Facilities::VAController
- Inherits:
-
FacilitiesController
- Object
- FacilitiesController
- V1::Facilities::VAController
- Defined in:
- app/controllers/v1/facilities/va_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
Index supports the following query parameters:.
- #show ⇒ Object
Instance Method Details
#index ⇒ Object
Index supports the following query parameters:
10 11 12 13 14 |
# File 'app/controllers/v1/facilities/va_controller.rb', line 10 def index api_results = api.get_facilities(lighthouse_params) render_json(serializer, lighthouse_params, api_results) end |
#show ⇒ Object
16 17 18 19 20 |
# File 'app/controllers/v1/facilities/va_controller.rb', line 16 def show api_result = api.get_by_id(params[:id]) render_json(serializer, lighthouse_params, api_result) end |