Class: Passkit::Api::V1::LogsController
- Inherits:
-
ActionController::API
- Object
- ActionController::API
- Passkit::Api::V1::LogsController
- Defined in:
- app/controllers/passkit/api/v1/logs_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/passkit/api/v1/logs_controller.rb', line 5 def create params[:logs].each do || Log.create!(content: ) end render json: {}, status: :ok end |