Sha256: 9c531298e6e42a7fe231bc60122b36d9bcd56a7d2357c3b1f85cc85d5748e059
Contents?: true
Size: 486 Bytes
Versions: 25
Compression:
Stored size: 486 Bytes
Contents
# encoding: utf-8 require 'faraday' module Github # Skip encoding of the key nested parameters module NullParamsEncoder if defined?(Faraday::NestedParamsEncoder) class << self Faraday::NestedParamsEncoder.singleton_methods do |m| define_method m, ::Faraday::NestedParamsEncoder.method(m).to_proc end end end def self.escape(s) s.to_s end def self.unescape(s) s.to_s end end # NullEncoder end # Github
Version data entries
25 entries across 25 versions & 3 rubygems