Module: LedgerEndpoints
- Extended by:
- Request
- Included in:
- Blockfrostruby::CardanoMainNet
- Defined in:
- lib/blockfrostruby/endpoints/cardano/ledger_endpoints.rb
Constant Summary
Constants included from Blockfrostruby
Instance Method Summary collapse
-
#get_genesis ⇒ Hash
Calls get request on (@url)/genesis.
Methods included from Request
get_response, post_file, post_request_cbor, post_request_raw
Instance Method Details
#get_genesis ⇒ Hash
Calls get request on (@url)/genesis.
11 12 13 |
# File 'lib/blockfrostruby/endpoints/cardano/ledger_endpoints.rb', line 11 def get_genesis Request.get_response("#{@url}/genesis", @project_id) end |