Class: Chain::ClientModule
- Inherits:
-
Object
- Object
- Chain::ClientModule
- Defined in:
- lib/chain/client_module.rb
Direct Known Subclasses
AccessToken::ClientModule, Account::ClientModule, Asset::ClientModule, AuthorizationGrant::ClientModule, Balance::ClientModule, Chain::Config::ClientModule, MockHSM::ClientModule, MockHSM::Key::ClientModule, Transaction::ClientModule, TransactionFeed::ClientModule, UnspentOutput::ClientModule
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ ClientModule
constructor
A new instance of ClientModule.
Constructor Details
#initialize(client) ⇒ ClientModule
Returns a new instance of ClientModule.
6 7 8 |
# File 'lib/chain/client_module.rb', line 6 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
4 5 6 |
# File 'lib/chain/client_module.rb', line 4 def client @client end |