Sha256: f61cd906559a0b2fa0b1c93934a6886e83d2f15049512f68b452d801137708fe

Contents?: true

Size: 632 Bytes

Versions: 2

Compression:

Stored size: 632 Bytes

Contents

module Skyhook
  module Core::ISteamRemoteStorage

    # ISteamRemoteStorage
    # Methods relating to stored files.

    # TODO finish implementing this

    def collection_details;end
    def published_file_details;end

    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

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
skyhook-0.7.0 lib/skyhook/i_steam_remote_storage.rb
skyhook-0.6.0 lib/skyhook/i_steam_remote_storage.rb