lib/eve_online/base.rb in eve_online-0.7.0 vs lib/eve_online/base.rb in eve_online-0.8.0

- old
+ new

@@ -5,10 +5,10 @@ def url raise NotImplementedError end def user_agent - @user_agent ||= "EveOnline API (https://github.com/biow0lf/eve_online) v#{ EveOnline::VERSION }" + @user_agent ||= "EveOnline API (https://github.com/biow0lf/eve_online) v#{ VERSION }" end def content @content ||= open(url, open_timeout: 60, read_timeout: 60, 'User-Agent' => user_agent).read