Sha256: f29b083d0b2ac68842db10592a18314bf4887373a830c9d433ec7fec907fefd1
Contents?: true
Size: 331 Bytes
Versions: 23
Compression:
Stored size: 331 Bytes
Contents
module Rhoconnect module Condition module Verbs def self.extended(base) base.include_verbs_condition end def include_verbs_condition set(:verbs) do |*verbs| condition do verbs.any?{|v| v == request.request_method } end end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems