class Steam::Web::Api::Client
Handles http concerns for the steam api.
Attributes
interface[R]
Public Class Methods
new(interface)
click to toggle source
# File lib/steam/web/api/client.rb, line 9 def initialize(interface) @interface = interface end
Public Instance Methods
get(method, params = {}, version = nil)
click to toggle source
# File lib/steam/web/api/client.rb, line 13 def get(method, params = {}, version = nil) url = RequestUrl.new(interface, method, params, version) request = Request.new(url) http = Connection.new resp = http.get(request) Response.new(resp) end