module Tankerkoenig
Constants
- VERSION
Attributes
api_base[RW]
api_key[RW]
Public Class Methods
conn()
click to toggle source
# File lib/tankerkoenig.rb, line 15 def self.conn if defined?(@conn) @conn else @conn = Faraday.new(@api_base) do |faraday| faraday.params['apikey'] = @api_key faraday.adapter Faraday.default_adapter end end end
conn=(conn)
click to toggle source
# File lib/tankerkoenig.rb, line 26 def self.conn=(conn) @conn = conn end