crowdAI/crowdai

View on GitHub
app/services/prometheus/participant_counter_service.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Prometheus::ParticipantCounterService
  include Prometheus::Configuration

  def call
    payload = { action: 'create' }
    PARTICIPANT_COUNTER.increment(payload, 1)
  end

end