Class: Meeseeker::HiveEngine::Agent
- Inherits:
-
SteemEngine::Agent
- Object
- Mechanize
- SteemEngine::Agent
- Meeseeker::HiveEngine::Agent
- Defined in:
- lib/meeseeker/hive_engine.rb
Constant Summary
Constants inherited from SteemEngine::Agent
SteemEngine::Agent::POST_HEADERS
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Agent
constructor
A new instance of Agent.
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( = {}) super self.user_agent = Meeseeker::AGENT_ID self.max_history = 0 self.default_encoding = 'UTF-8' @node_url = [:url] || Meeseeker::hive_engine_node_url end |