Sha256: 1d356fea5e48f6d3611a3914c1bd521d8f824713001343de954417750c81baa5
Contents?: true
Size: 405 Bytes
Versions: 36
Compression:
Stored size: 405 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 end end end end
Version data entries
36 entries across 36 versions & 1 rubygems