Sha256: c0953b7bc382661b6c98a3d70c5e2fd1a476ff0b72d7c9418706290fd4847c7c
Contents?: true
Size: 358 Bytes
Versions: 5
Compression:
Stored size: 358 Bytes
Contents
require 'json' module Tamashii module Agent class RequestPool class Response attr_accessor :ev_type, :ev_body, :id def initialize(ev_type, wrapped_body) @ev_type = ev_type data = JSON.parse(wrapped_body) @id = data["id"] @ev_body = data["ev_body"] end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems