Class: Radiator::TagApi

Inherits:
Api
  • Object
show all
Defined in:
lib/radiator/tag_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



28
29
30
# File 'lib/radiator/tag_api.rb', line 28

def api_name
  :tags_api
end

#method_namesObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/radiator/tag_api.rb', line 3

def method_names
  @method_names ||= [
    :get_trending_tags,
    :get_tags_used_by_author,
    :get_discussion,
    :get_content_replies,
    :get_post_discussions_by_payout,
    :get_comment_discussions_by_payout,
    :get_discussions_by_trending,
    :get_discussions_by_created,
    :get_discussions_by_active,
    :get_discussions_by_cashout,
    :get_discussions_by_votes,
    :get_discussions_by_children,
    :get_discussions_by_hot,
    :get_discussions_by_feed,
    :get_discussions_by_blog,
    :get_discussions_by_comments,
    :get_discussions_by_promoted,
    :get_replies_by_last_update,
    :get_discussions_by_author_before_date,
    :get_active_votes
  ].freeze
end