Class: Radiator::BlockApi

Inherits:
Api
  • Object
show all
Defined in:
lib/radiator/block_api.rb

Constant Summary

Constants inherited from Api

Api::DEFAULT_STEEM_FAILOVER_URLS, Api::DEFAULT_STEEM_URL, Api::HEALTH_URI, Api::POST_HEADERS

Instance Method Summary collapse

Methods inherited from Api

default_failover_urls, default_url, #get_blocks, #initialize, #inspect, #method_missing, #respond_to_missing?, #shutdown, #stopped?, #use_condenser_namespace?

Methods included from Utils

#debug, #error, #extract_signatures, #hexlify, #pakArr, #pakC, #pakHash, #pakI, #pakL!, #pakS, #pakStr, #pakc, #paks, #send_log, #unhexlify, #varint, #warning

Constructor Details

This class inherits a constructor from Radiator::Api

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Radiator::Api

Instance Method Details

#api_nameObject



10
11
12
# File 'lib/radiator/block_api.rb', line 10

def api_name
  :block_api
end

#method_namesObject



3
4
5
6
7
8
# File 'lib/radiator/block_api.rb', line 3

def method_names
  @method_names ||= [
    :get_block_header,
    :get_block
  ].freeze
end