Sha256: 996087b92fd5903cfd300414763d181bc80cf75ec671cb264cf5225174a4b601
Contents?: true
Size: 735 Bytes
Versions: 4
Compression:
Stored size: 735 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'libgss' require 'tengine/support/yaml_with_erb' # see https://github.com/tengine/fontana/pull/3 require 'httpclient' def request_fixture_load(fixture_name) c = HTTPClient.new c.post("http://localhost:4000/libgss_test/fixture_loadings/#{fixture_name}.json", "_method" => "put") end def new_network(url = "http://localhost:4000", player_id = "1000001") config = YAML.load_file(File.expand_path("../../fontana_sample/config/app_garden.yml", __FILE__)) opts = { device_type_cd: 1, client_version: "2013073101", consumer_secret: config["consumer_secret"], player_id: player_id, # ssl_disabled: true, } Libgss::Network.new(url, opts) end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
libgss-0.7.2 | spec/spec_helper.rb |
libgss-0.7.1 | spec/spec_helper.rb |
libgss-0.7.0 | spec/spec_helper.rb |
libgss-0.6.2 | spec/spec_helper.rb |