Sha256: 55f4d90f9063d6174449c02fed960ad274d3072502f129b442e915f4b0eb687b

Contents?: true

Size: 238 Bytes

Versions: 6

Compression:

Stored size: 238 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
rails-rfc6570-2.1.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-2.0.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-1.1.1 lib/rails/rfc6570/patches.rb
rails-rfc6570-1.1.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-1.0.0 lib/rails/rfc6570/patches.rb
rails-rfc6570-0.3.0 lib/rails/rfc6570/patches.rb