Class: Chain::MockHSM::ClientModule
- Inherits:
-
ClientModule
- Object
- ClientModule
- Chain::MockHSM::ClientModule
- Defined in:
- lib/chain/mock_hsm.rb
Instance Attribute Summary
Attributes inherited from ClientModule
Instance Method Summary collapse
- #keys ⇒ Key::ClientModule
-
#signer_conn ⇒ Connection
MockHSM signer connection.
Methods inherited from ClientModule
Constructor Details
This class inherits a constructor from Chain::ClientModule
Instance Method Details
#keys ⇒ Key::ClientModule
11 12 13 |
# File 'lib/chain/mock_hsm.rb', line 11 def keys @keys_module ||= Key::ClientModule.new(client) end |
#signer_conn ⇒ Connection
MockHSM signer connection.
17 18 19 20 21 22 23 24 |
# File 'lib/chain/mock_hsm.rb', line 17 def signer_conn return @signer_conn if @signer_conn opts = client.conn.opts opts[:url] += '/mockhsm' @signer_conn = Connection.new(opts) end |