Module: Steam
- Defined in:
- lib/steam-api/steam.rb,
lib/steam-api/client.rb,
lib/steam-api/helpers.rb,
lib/steam-api/version.rb,
lib/steam-api/response.rb,
lib/steam-api/exceptions.rb,
lib/steam-api/steam/apps.rb,
lib/steam-api/steam/news.rb,
lib/steam-api/steam/user.rb,
lib/steam-api/steam/store.rb,
lib/steam-api/steam/player.rb,
lib/steam-api/steam/economy.rb,
lib/steam-api/steam/user_stats.rb,
lib/steam-api/steam/remote_storage.rb
Overview
Versioning Info
Defined Under Namespace
Modules: Apps, Economy, Helpers, News, Player, Store, User, UserStats Classes: Client, JSONError, RemoteStorage, Response, SteamError, UnavailableError
Constant Summary collapse
- VERSION =
'1.2.0'.freeze
Class Method Summary collapse
Class Method Details
.apikey ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# 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) ⇒ Object
16 17 18 |
# File 'lib/steam-api/steam.rb', line 16 def self.apikey=(key) @apikey = key end |