class PagesController < ApplicationController
def index
#295110
inventory = GameInventory.new(730, 76561197969907698)
raise inventory.items.inspect
end
end
Unfortunately I get the following exception:
uninitialized constant PagesController::GameInventory
http://www.rubydoc.info/gems/steam-condenser/GameInventory - according to this doc GameInventory is defined at top-namespace, so there shouldn't be a problem.
To avoid questions regarding if I included this gem in my gemfile..
gem 'omniauth-steam'
gem 'devise'
gem 'bootstrap-sass'
gem 'steam-condenser', '~> 1.3.11'
I can use SteamId class without any problem, so what I'm doing wrong with GameInventory?
--
You received this message because you are subscribed to the Google Groups "Steam Condenser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to steam-condens...@googlegroups.com.
To post to this group, send email to steam-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/steam-condenser/f6f79143-245b-4a55-8f33-169defbee895%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
require 'steam/community/game_inventory'
--
You received this message because you are subscribed to the Google Groups "Steam Condenser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to steam-condens...@googlegroups.com.
To post to this group, send email to steam-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/steam-condenser/fd32512d-5230-4f4f-8d12-def933e0a3dd%40googlegroups.com.