class NerdLog::Configuration
Attributes
api_key[RW]
Public Instance Methods
http_connection()
click to toggle source
# File lib/nerd_log.rb, line 20 def http_connection @connection ||= Faraday.new(url: 'https://www.warcraftlogs.com/v1/', params: {api_key: self.api_key}) do |faraday| faraday.request :url_encoded faraday.request :json faraday.response :json faraday.adapter Faraday.default_adapter end end