Module: ScaleRb

Defined in:
lib/address.rb,
lib/scale_rb.rb,
lib/scale_rb/codec.rb,
lib/scale_rb/types.rb,
lib/scale_rb/utils.rb,
lib/scale_rb/decode.rb,
lib/scale_rb/encode.rb,
lib/scale_rb/hasher.rb,
lib/scale_rb/version.rb,
lib/scale_rb/call_helper.rb,
lib/scale_rb/codec_utils.rb,
lib/scale_rb/storage_helper.rb,
lib/scale_rb/client/ws_client.rb,
lib/scale_rb/client/ws_client.rb,
lib/scale_rb/client/client_ext.rb,
lib/scale_rb/metadata/metadata.rb,
lib/scale_rb/metadata/registry.rb,
lib/scale_rb/metadata/type_exp.rb,
lib/scale_rb/portable_registry.rb,
lib/scale_rb/client/http_client.rb,
lib/scale_rb/metadata/metadata_v9.rb,
lib/scale_rb/metadata/metadata_v10.rb,
lib/scale_rb/metadata/metadata_v11.rb,
lib/scale_rb/metadata/metadata_v12.rb,
lib/scale_rb/metadata/metadata_v13.rb,
lib/scale_rb/metadata/metadata_v14.rb

Overview

rubocop:disable all

Defined Under Namespace

Modules: CallHelper, ClientExt, Codec, CodecUtils, Decode, Encode, Hasher, Metadata, StorageHelper, Types, Utils Classes: Address, HttpClient, PortableRegistry, ResponseHandler, SubscriptionHandler, WsClient

Constant Summary collapse

VERSION =
'0.5.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject

Returns the value of attribute logger.



8
9
10
# File 'lib/scale_rb.rb', line 8

def logger
  @logger
end

Class Method Details

.debug(key, value) ⇒ Object



10
11
12
# File 'lib/scale_rb.rb', line 10

def debug(key, value)
  logger.debug "#{key.rjust(15)}: #{value}"
end