Class: VersjonsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- VersjonsController
- Defined in:
- app/controllers/versjons_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
2 3 4 5 6 7 8 |
# File 'app/controllers/versjons_controller.rb', line 2 def index render json: { version: release_info.version, sha: release_info.sha, timestamp: release_info. } end |