Class: CardanoWallet::Byron::Assets
- Inherits:
-
CardanoWallet::Base
- Object
- CardanoWallet::Base
- CardanoWallet::Byron::Assets
- Defined in:
- lib/cardano_wallet/byron.rb
Overview
Init for Byron assets APIs
Instance Attribute Summary
Attributes inherited from CardanoWallet::Base
Instance Method Summary collapse
Methods inherited from CardanoWallet::Base
#byron, #initialize, #misc, #shared, #shelley, #utils
Constructor Details
This class inherits a constructor from CardanoWallet::Base
Instance Method Details
#get(wid, policy_id = nil, asset_name = nil) ⇒ Object
73 74 75 76 77 78 |
# File 'lib/cardano_wallet/byron.rb', line 73 def get(wid, policy_id = nil, asset_name = nil) ep = "/byron-wallets/#{wid}/assets" ep += "/#{policy_id}" if policy_id ep += "/#{asset_name}" if asset_name self.class.get(ep) end |