Module: Skyhook::Core::ISteamRemoteStorage

Defined in:
lib/skyhook/i_steam_remote_storage.rb

Instance Method Summary collapse

Instance Method Details

#collection_detailsObject

TODO finish implementing this



9
# File 'lib/skyhook/i_steam_remote_storage.rb', line 9

def collection_details;end

#published_file_detailsObject



10
# File 'lib/skyhook/i_steam_remote_storage.rb', line 10

def published_file_details;end

#ugcf_file_details(ugcid, appid, options = {}) ⇒ Object



12
13
14
15
16
17
18
19
20
21
# File 'lib/skyhook/i_steam_remote_storage.rb', line 12

def ugcf_file_details( ugcid, appid, options = {} )
  steamid = Skyhook::Core::ISteamUser.resolve_vanity options[:steamid] unless options.empty?

  response = parent.request 'ISteamRemoteStorage/GetUGCFileDetails/v1/', ugcid: ugcid, appid: appid, steamid: steamid
  if response['status']['code'] == 9
    raise StandardError
  else
    response['data']
  end
end