Class: CardanoExplorer::Genesis
- Inherits:
-
Base
- Object
- Base
- CardanoExplorer::Genesis
show all
- Defined in:
- lib/cardano_explorer/genesis.rb
Instance Attribute Summary
Attributes inherited from Base
#hash
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #summary
Class Method Details
.find ⇒ Object
4
5
6
|
# File 'lib/cardano_explorer/genesis.rb', line 4
def self.find
raise NoMethodError
end
|
Instance Method Details
#pages_total(options = {}) ⇒ Object
8
9
10
11
12
|
# File 'lib/cardano_explorer/genesis.rb', line 8
def pages_total(options = {})
valid_params = %w[pageSize redeemeed]
options = options.keep_if { |k| valid_params.include?(k) }
self.class.get('address/pages/total', options).parsed_response['Right']
end
|