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