module Steam
Base class def
Versioning Info
Constants
- VERSION
Public Class Methods
apikey()
click to toggle source
# File lib/steam-api/steam.rb, line 5 def self.apikey if @apikey.nil? unless ENV.key?('STEAM_API_KEY') raise ArgumentError, 'Please set your Steam API key.' end @apikey = ENV['STEAM_API_KEY'] end @apikey end
apikey=(key)
click to toggle source
# File lib/steam-api/steam.rb, line 16 def self.apikey=(key) @apikey = key end