Sha256: 5cac97f0cff58d4523bc6aa3df914deacc80dacb6c8b36947cbabe9d02250669
Contents?: true
Size: 472 Bytes
Versions: 48
Compression:
Stored size: 472 Bytes
Contents
require "pact_broker/api/resources/base_resource" module PactBroker module Api module Resources class Metrics < BaseResource def content_types_provided [["application/hal+json", :to_json]] end def allowed_methods ["GET", "OPTIONS"] end def to_json metrics_service.metrics.to_json end def policy_name :'metrics::metrics' end end end end end
Version data entries
48 entries across 48 versions & 1 rubygems