class JsonFfiClient::Response
Public Class Methods
release(ptr)
click to toggle source
# File lib/json_ffi_client.rb, line 7 def self.release(ptr) Connection.free(ptr) end
Public Instance Methods
body()
click to toggle source
# File lib/json_ffi_client.rb, line 11 def body @body ||= JSON.parse(self.read_string).delete_if{|k,v| v.nil?} end
env()
click to toggle source
# File lib/json_ffi_client.rb, line 15 def env {} end