ActiveCampaign/postmark-gem

View on GitHub
lib/postmark/response_parsers/yajl.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'yajl'
Yajl::Encoder.enable_json_gem_compatability
module Postmark
  module ResponseParsers
    module Yajl
      def self.decode(data)
        ::Yajl::Parser.parse(data)
      end
    end
  end
end