Module: Straight::Blockchain
- Defined in:
- lib/straight/blockchain_adapter.rb,
lib/straight/blockchain_adapters/biteasy_adapter.rb,
lib/straight/blockchain_adapters/insight_adapter.rb,
lib/straight/blockchain_adapters/mycelium_adapter.rb,
lib/straight/blockchain_adapters/blockchain_info_adapter.rb
Defined Under Namespace
Classes: Adapter, BiteasyAdapter, BlockchainInfoAdapter, InsightAdapter, MyceliumAdapter
Class Method Summary collapse
-
.const_missing(name) ⇒ Object
Look for the adapter without namespace if not found it in a specific module.
Class Method Details
.const_missing(name) ⇒ Object
Look for the adapter without namespace if not found it in a specific module
46 47 48 49 50 51 |
# File 'lib/straight/blockchain_adapter.rb', line 46 def self.const_missing(name) Kernel.const_get(name) rescue NameError puts "WARNING: No blockchain adapter with the name #{name.to_s} was found!" nil end |