Class: Bcoin::Client::Master
Overview
Contains a copy of the HD Master Key. Depending on the lock state of the wallet (see Wallet#unlock), the master key will either be encrypted or in plain text.
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Contains an instance of Bcoin::Client::Wallet which adheres to the HTTP client interface but builds the URL correctly for the specific wallet which this account belongs to.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#error, #error=, #id, #initialize, #inspect, #refresh!, #respond_to?, #token=, #wallet_token
Methods included from HttpMethods
#delete, #get, #post, #put, #wallet_token
Constructor Details
This class inherits a constructor from Bcoin::Client::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Bcoin::Client::Base
Instance Attribute Details
#client ⇒ Object (readonly)
Contains an instance of Bcoin::Client::Wallet which adheres to the HTTP client interface but builds the URL correctly for the specific wallet which this account belongs to.
13 14 15 |
# File 'lib/bcoin/client/master.rb', line 13 def client @client end |
Instance Method Details
#base_path ⇒ Object
15 16 17 |
# File 'lib/bcoin/client/master.rb', line 15 def base_path '/master/' end |