Method: EverSdk::Client.config
- Defined in:
- lib/ever_sdk_client/client.rb
.config(ctx) ⇒ Object
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/ever_sdk_client/client.rb', line 123 def self.config(ctx) Interop::request_to_native_lib(ctx, "client.config") do |resp| if resp.success? yield NativeLibResponseResult.new( result: ClientConfig.new( network: resp.result["network"], crypto: resp.result["crypto"], abi: resp.result["abi"], boc: resp.result["boc"] ) ) else yield resp end end end |