1
0
mirror of https://github.com/bumi/lnrpc synced 2025-07-10 13:27:23 +00:00

Less noisy Client#inspect

This commit is contained in:
bumi 2019-02-12 07:00:50 +01:00
parent 85c50c4b9b
commit 0320522431

View File

@ -57,6 +57,10 @@ module Lnrpc
end end
end end
def inspect
"#{self.to_s} @address=\"#{self.address}\""
end
private private
def request_class_for(method_name) def request_class_for(method_name)
if NON_CONVENTION_REQUEST_CLASSES.key?(method_name.to_sym) if NON_CONVENTION_REQUEST_CLASSES.key?(method_name.to_sym)