Class: ECMBlockchain::Asset
- Inherits:
-
Object
- Object
- ECMBlockchain::Asset
- Defined in:
- lib/ecm-blockchain-api/asset.rb
Constant Summary
Constants included from Routes
Routes::ASSET_BATCH_URL, Routes::ASSET_URL, Routes::MEMBERS_URL, Routes::TOKENS_URL
Constants included from Request
Class Method Summary collapse
Methods included from Request
Class Method Details
.create(identity, data) ⇒ Object
7 8 9 10 |
# File 'lib/ecm-blockchain-api/asset.rb', line 7 def create(identity, data) verify_asset(data) asset(request( :post, "/#{identity}#{ASSET_URL}", data )) end |