Sha256: 2f525a8c31520be2d830a25d2e7359c4ec4d4ce62f51b8b91286652d1e4d00ab
Contents?: true
Size: 366 Bytes
Versions: 3
Compression:
Stored size: 366 Bytes
Contents
module Conekta module JSON if MultiJson.respond_to?(:dump) def self.dump(*args) MultiJson.dump(*args) end def self.load(*args) MultiJson.load(*args) end else def self.dump(*args) MultiJson.encode(*args) end def self.load(*args) MultiJson.decode(*args) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
conekta-0.3.3 | lib/conekta/json.rb |
conekta-0.3.1 | lib/conekta/json.rb |
conekta-0.3.0 | lib/conekta/json.rb |