Sha256: 45f449c886fc961ee3992c1596f29f3b8b3a3fb67fdb84d769f1114c2b85fb85

Contents?: true

Size: 197 Bytes

Versions: 6

Compression:

Stored size: 197 Bytes

Contents

# frozen_string_literal: true

require 'json'

module Trumail
  module Parser
    class Json < Trumail::Parser::Base

      def parse
        @hash = JSON.parse(@data)
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trumail-2.1.0 lib/trumail/parser/json.rb
trumail-2.0.1 lib/trumail/parser/json.rb
trumail-2.0.0 lib/trumail/parser/json.rb
trumail-1.0.0 lib/trumail/parser/json.rb
trumail-0.2.0 lib/trumail/parser/json.rb
trumail-0.1.0 lib/trumail/parser/json.rb