Class: TezosClient::ClientInterface

Inherits:
Object
  • Object
show all
Includes:
BlockContextual, ClientWrapper, Contract, Key, Misc, Logger
Defined in:
lib/tezos_client/client_interface.rb,
lib/tezos_client/client_interface/key.rb,
lib/tezos_client/client_interface/misc.rb,
lib/tezos_client/client_interface/contract.rb,
lib/tezos_client/client_interface/client_wrapper.rb,
lib/tezos_client/client_interface/block_contextual.rb

Defined Under Namespace

Modules: BlockContextual, ClientWrapper, Contract, Key, Misc

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from BlockContextual

#transfer

Methods included from Contract

#known_contracts

Methods included from Key

#addresses, #gen_keys, #import_public_key, #import_secret_key

Methods included from Misc

#bootstrapped

Methods included from ClientWrapper

#call_client, #client_cmd

Methods included from Logger

#log

Constructor Details

#initialize(config_file: nil) ⇒ ClientInterface

Returns a new instance of ClientInterface.



21
22
23
# File 'lib/tezos_client/client_interface.rb', line 21

def initialize(config_file: nil)
  @config_file = config_file
end

Instance Attribute Details

#config_fileObject (readonly)

Returns the value of attribute config_file.



11
12
13
# File 'lib/tezos_client/client_interface.rb', line 11

def config_file
  @config_file
end