Sha256: f64768f6592b519104231646b9668de295bce3d3571ecf583c30c5712c2e3483

Contents?: true

Size: 173 Bytes

Versions: 2

Compression:

Stored size: 173 Bytes

Contents

module Paysio
  class JSON
    class << self
      def decode(text)
        Oj.load(text)
      end

      def encode(json)
        Oj.dump(json)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
paysio-1.0.3 lib/paysio/json.rb
paysio-1.0.2 lib/paysio/json.rb