Class: Bcoin::Client::Balance
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.
9 10 11 |
# File 'lib/bcoin/client/balance.rb', line 9 def client @client end |
Instance Method Details
#base_path ⇒ Object
11 12 13 |
# File 'lib/bcoin/client/balance.rb', line 11 def base_path '/balance/' end |