Sha256: 70536556f8c308233fc7e222922e156888dc84d0063671459dbe75154d9c4a3b
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'split' require 'ostruct' def session @session ||= {} end def params @params ||= {} end def request(ua = 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; de-de) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27') r = OpenStruct.new r.user_agent = ua @request ||= r end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
split-0.2.1 | spec/spec_helper.rb |