Less noisy Client#inspect

This commit is contained in:
bumi 2019-02-12 07:00:50 +01:00
parent 85c50c4b9b
commit 0320522431
1 changed files with 4 additions and 0 deletions

View File

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