Sha256: f6008304e9051367adebc3c92065ac360a5bf3e9238bc7a0feec1cc99f11494d
Contents?: true
Size: 223 Bytes
Versions: 10
Compression:
Stored size: 223 Bytes
Contents
require "adeia/engine" module Adeia @@api_patterns = [] mattr_accessor :api_patterns def self.api_urls=(urls) self.api_patterns = urls.map do |url| url.gsub(/\//, "\\/").gsub(/\*/, ".*") end end end
Version data entries
10 entries across 10 versions & 1 rubygems