Class: Radiator::MarketHistoryApi

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

Constant Summary

Constants inherited from Api

Api::DEFAULT_HIVE_FAILOVER_URLS, Api::DEFAULT_HIVE_RESTFUL_URL, Api::DEFAULT_HIVE_URL, Api::DEFAULT_STEEM_FAILOVER_URLS, Api::DEFAULT_STEEM_RESTFUL_URL, Api::DEFAULT_STEEM_URL, Api::HEALTH_URI, Api::POST_HEADERS

Instance Method Summary collapse

Methods inherited from Api

default_failover_urls, default_restful_url, default_url, #get_blocks, #initialize, #inspect, #method_missing, network_api, #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



15
16
17
# File 'lib/radiator/market_history_api.rb', line 15

def api_name
  :market_history_api
end

#method_namesObject



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/radiator/market_history_api.rb', line 3

def method_names
  @method_names ||= [
    :get_market_history,
    :get_market_history_buckets,
    :get_order_book,
    :get_recent_trades,
    :get_ticker,
    :get_trade_history,
    :get_volume
  ].freeze
end