class WiteiWebApi::Agent
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/witei_web_api/agent.rb, line 5 def initialize super('witei_web_api') @agent.max_history = 0 @agent.user_agent = "Witei Web Api (#{WiteiWebApi::VERSION})" @agent.open_timeout = 10 @agent.read_timeout = 10 end