Sha256: 10667fa6487822c3dd27f9f2977cc5e2ca81800618c25b2addab58b975b904b7

Contents?: true

Size: 269 Bytes

Versions: 9

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

require 'addressable/uri'
require 'addressable/template'

module Addressable
  class URI
    def as_json(*)
      to_s
    end
  end

  class Template
    def to_s
      pattern
    end

    def as_json(*)
      pattern
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails-rfc6570-3.3.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-3.2.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-3.1.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-3.0.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-2.6.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-2.5.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-2.4.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-2.3.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-2.2.0 lib/rails/rfc6570/patches.rb