Class: Meeseeker::HiveEngine::Agent

Inherits:
SteemEngine::Agent show all
Defined in:
lib/meeseeker/hive_engine.rb

Constant Summary

Constants inherited from SteemEngine::Agent

SteemEngine::Agent::POST_HEADERS

Instance Method Summary collapse

Methods inherited from SteemEngine::Agent

#block, #blockchain_http_post, #blockchain_uri, #latest_block_info

Constructor Details

#initialize(options = {}) ⇒ Agent

Returns a new instance of Agent.



4
5
6
7
8
9
10
11
12
# File 'lib/meeseeker/hive_engine.rb', line 4

def initialize(options = {})
  super
  
  self.user_agent = Meeseeker::AGENT_ID
  self.max_history = 0
  self.default_encoding = 'UTF-8'
  
  @node_url = options[:url] || Meeseeker::hive_engine_node_url
end